context to g.context
This commit is contained in:
@@ -382,7 +382,7 @@ boolean cuttier; /* hit is by wielded blade or axe or by thrown axe */
|
||||
/* Sometimes the tail end dies. */
|
||||
if (!new_worm) {
|
||||
place_worm_seg(worm, x, y); /* place the "head" segment back */
|
||||
if (context.mon_moving) {
|
||||
if (g.context.mon_moving) {
|
||||
if (canspotmon(worm))
|
||||
pline("Part of %s tail has been cut off.",
|
||||
s_suffix(mon_nam(worm)));
|
||||
@@ -416,7 +416,7 @@ boolean cuttier; /* hit is by wielded blade or axe or by thrown axe */
|
||||
/* Place the new monster at all the segment locations. */
|
||||
place_wsegs(new_worm, worm);
|
||||
|
||||
if (context.mon_moving)
|
||||
if (g.context.mon_moving)
|
||||
pline("%s is cut in half.", Monnam(worm));
|
||||
else
|
||||
You("cut %s in half.", mon_nam(worm));
|
||||
|
||||
Reference in New Issue
Block a user