From 0e9f53a62426f4fe00c8bedb79fd31002a94ad72 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 23 May 2022 13:25:12 -0400 Subject: [PATCH] oil burning secret door described as spell #771 Closes #771 --- src/zap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zap.c b/src/zap.c index 8ae2d513c..3ac786dc7 100644 --- a/src/zap.c +++ b/src/zap.c @@ -4830,6 +4830,10 @@ zap_over_floor(xchar x, xchar y, int type, boolean *shopdamage, if (!exploding_wand_typ) { if (abs(type) < ZT_SPELL(0)) zapverb = "bolt"; /* wand zap */ + /* kludge check: + ZT_SPELL(ZT_FIRE) = ZT_SPELL(AD_FIRE-1) = 10+(2-1) = 11 */ + else if (type == (ZT_SPELL(AD_FIRE - 1))) + yourzap = FALSE; /* and leave zapverb as "blast" */ else if (abs(type) < ZT_BREATH(0)) zapverb = "spell"; }