Always give a message when monster changes form via polytrap

... if the hero can see it.  This was an accessibility issue.
This commit is contained in:
Pasi Kallinen
2022-02-20 19:40:52 +02:00
parent fc19d1b453
commit 041a07468a
2 changed files with 2 additions and 6 deletions

View File

@@ -2126,12 +2126,7 @@ trapeffect_poly_trap(
if (resists_magm(mtmp)) {
shieldeff(mtmp->mx, mtmp->my);
} else if (!resist(mtmp, WAND_CLASS, 0, NOTELL)) {
(void) newcham(mtmp, (struct permonst *) 0, FALSE,
/* if hero is moving, he probably just swapped
places with a pet or perhaps used a joust
attack to push mtmp into the trap; describe
mtmp's transformation into another shape */
(!g.context.mon_moving && in_sight));
(void) newcham(mtmp, (struct permonst *) 0, FALSE, in_sight);
if (in_sight)
seetrap(trap);
}