Sparkle shield effect and accessibility

When sparkle is turned off, there are some places where
a monster resisting the effect did not give any message.

This fixes some of those.
This commit is contained in:
Pasi Kallinen
2024-12-14 14:34:19 +02:00
parent b2b9b685c5
commit fd23463941
5 changed files with 18 additions and 8 deletions

View File

@@ -1137,7 +1137,7 @@ mon_poly(struct monst *magr, struct monst *mdef, int dmg)
if (resists_magm(mdef)) {
/* Magic resistance */
if (gv.vis)
shieldeff(mdef->mx, mdef->my);
shieldeff_mon(mdef);
} else if (resist(mdef, WAND_CLASS, 0, TELL)) {
/* general resistance to magic... */
;