identifying a wand of striking when it activates a statue trap

This commit is contained in:
cohrs
2002-04-01 01:22:39 +00:00
parent 62519872b9
commit 9a5a051791
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ prevent panic if tombstone window cannot be created
clarify travel command behavior in the Guidebook clarify travel command behavior in the Guidebook
touch_artifact checks needed when snagging w/bullwhip and stealing touch_artifact checks needed when snagging w/bullwhip and stealing
cannot trip over submerged objects if you're water walking cannot trip over submerged objects if you're water walking
wand of striking was not identified if it activated a statue trap
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes
+3 -2
View File
@@ -1684,8 +1684,9 @@ bhitpile(obj,fhito,tx,ty)
because that last call might end up operating on our `next_obj' because that last call might end up operating on our `next_obj'
(below), rather than on the current object, if it happens to (below), rather than on the current object, if it happens to
encounter a statue which mustn't become animated. */ encounter a statue which mustn't become animated. */
if (t && t->ttyp == STATUE_TRAP) if (t && t->ttyp == STATUE_TRAP &&
(void) activate_statue_trap(t, tx, ty, TRUE); activate_statue_trap(t, tx, ty, TRUE))
makeknown(obj->otyp);
} }
poly_zapped = -1; poly_zapped = -1;