From: Pasi Kallinen Date: Sun, 20 Feb 2022 17:40:52 +0000 (+0200) Subject: Always give a message when monster changes form via polytrap X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=041a07468a6d2bb471800190a8ac513017268f36;p=nethack Always give a message when monster changes form via polytrap ... if the hero can see it. This was an accessibility issue. --- diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 564b86ec9..bd3b26c62 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -797,6 +797,7 @@ engraving with Fire Brand burns the text on the floor and does not dull the artifact make looting less tedious by getting rid of a y/n prompt making the command go directly into the loot-in-out -menu +always give a message when monster changes form via polytrap if seen Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/trap.c b/src/trap.c index 5e53581a3..ba8b09480 100644 --- a/src/trap.c +++ b/src/trap.c @@ -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); }