context to g.context
This commit is contained in:
@@ -411,7 +411,7 @@ boolean verbose; /* give message(s) even when you can't see what happened */
|
||||
(nonliving(mtmp->data) || is_vampshifter(mtmp)
|
||||
|| !canspotmon(mtmp)) ? "destroyed" : "killed");
|
||||
/* don't blame hero for unknown rolling boulder trap */
|
||||
if (!context.mon_moving && (otmp->otyp != BOULDER
|
||||
if (!g.context.mon_moving && (otmp->otyp != BOULDER
|
||||
|| range >= 0 || otmp->otrapped))
|
||||
xkilled(mtmp, XKILL_NOMSG);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user