Another round of instance globals changes.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user