From e5111e7587d487c8743422d581a90530e682bcf9 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 1 Apr 2002 15:32:51 +0000 Subject: [PATCH] striking ID followup - only ID wand of striking, not spellbook of force bolt, seeing the spell cast does not make the book known --- src/zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zap.c b/src/zap.c index e67c470fa..c3c8a5684 100644 --- a/src/zap.c +++ b/src/zap.c @@ -1684,7 +1684,7 @@ bhitpile(obj,fhito,tx,ty) because that last call might end up operating on our `next_obj' (below), rather than on the current object, if it happens to 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)) makeknown(obj->otyp); }