Macro for picking random entry from array
This commit is contained in:
@@ -689,7 +689,7 @@ really_kick_object(coordxy x, coordxy y)
|
||||
|
||||
if (!Deaf)
|
||||
pline1("Thwwpingg!");
|
||||
You("%s!", flyingcoinmsg[rn2(SIZE(flyingcoinmsg))]);
|
||||
You("%s!", ROLL_FROM(flyingcoinmsg));
|
||||
(void) scatter(x, y, rnd(3), VIS_EFFECTS | MAY_HIT,
|
||||
gk.kickedobj);
|
||||
newsym(x, y);
|
||||
|
||||
Reference in New Issue
Block a user