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)
This commit is contained in:
nhmall
2025-09-04 23:01:29 -04:00
parent 774129df11
commit d3db5ce4f1

View File

@@ -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!");