Another round of instance globals changes.

This commit is contained in:
Bart House
2018-12-24 16:43:50 -08:00
parent e5e906dc3b
commit 572ee347b9
78 changed files with 946 additions and 975 deletions

View File

@@ -479,10 +479,10 @@ register struct obj *otmp;
/* if monster is acquiring a thrown or kicked object, the throwing
or kicking code shouldn't continue to track and place it */
if (otmp == thrownobj)
thrownobj = 0;
else if (otmp == kickedobj)
kickedobj = 0;
if (otmp == g.thrownobj)
g.thrownobj = 0;
else if (otmp == g.kickedobj)
g.kickedobj = 0;
/* don't want hidden light source inside the monster; assumes that
engulfers won't have external inventories; whirly monsters cause
the light to be extinguished rather than letting it shine thru */