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:
11
src/mon.c
11
src/mon.c
@@ -5838,4 +5838,15 @@ see_nearby_monsters(void)
|
||||
}
|
||||
}
|
||||
|
||||
/* monster resists something.
|
||||
make a shield effect at monster's location and give a message */
|
||||
void
|
||||
shieldeff_mon(struct monst *mtmp)
|
||||
{
|
||||
shieldeff(mtmp->mx, mtmp->my);
|
||||
/* does not depend on seeing the monster; the shield effect is visible */
|
||||
if (cansee(mtmp->mx, mtmp->my))
|
||||
pline_xy(mtmp->mx, mtmp->my, "%s resists!", Monnam(mtmp));
|
||||
}
|
||||
|
||||
/*mon.c*/
|
||||
|
||||
Reference in New Issue
Block a user