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

@@ -2444,7 +2444,7 @@ trapeffect_poly_trap(
boolean in_sight = canseemon(mtmp) || (mtmp == u.usteed);
if (resists_magm(mtmp)) {
shieldeff(mtmp->mx, mtmp->my);
shieldeff_mon(mtmp);
} else if (!resist(mtmp, WAND_CLASS, 0, NOTELL)) {
(void) newcham(mtmp, (struct permonst *) 0, NC_SHOW_MSG);
if (in_sight)