striking ID followup
- only ID wand of striking, not spellbook of force bolt, seeing the spell cast does not make the book known
This commit is contained in:
@@ -1684,7 +1684,7 @@ 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 && obj->otyp == WAN_STRIKING &&
|
||||||
activate_statue_trap(t, tx, ty, TRUE))
|
activate_statue_trap(t, tx, ty, TRUE))
|
||||||
makeknown(obj->otyp);
|
makeknown(obj->otyp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user