From d3db5ce4f13a47cebcb24d7605b40e2706374e45 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 4 Sep 2025 23:01:29 -0400 Subject: [PATCH] yet_another: !mimic_disguised_as_mon(mtmp) would be true for a non-mimic (mimic_disguised_as_non_mon(mtmp) would also have worked okay) --- src/zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zap.c b/src/zap.c index 7cceffba3..c43598386 100644 --- a/src/zap.c +++ b/src/zap.c @@ -192,7 +192,7 @@ bhitm(struct monst *mtmp, struct obj *otmp) reveal_invis = TRUE; learn_it = cansee(gb.bhitpos.x, gb.bhitpos.y); if (resists_magm(mtmp)) { /* match effect on player */ - if (!mimic_disguised_as_mon(mtmp)) + if (disguised_mimic && !mimic_disguised_as_mon(mtmp)) seemimic(mtmp); shieldeff(mtmp->mx, mtmp->my); pline("Boing!");