]> granicus.if.org Git - nethack/commitdiff
Mindless monsters shouldn't cringe stepping on squeaky boards
authorPasi Kallinen <paxed@alt.org>
Mon, 24 Jan 2022 21:13:00 +0000 (23:13 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 24 Jan 2022 21:13:36 +0000 (23:13 +0200)
doc/fixes37.0
src/trap.c

index 5dcb5a9b57bf006a702bfa968d71b78676f3f3ea..5870e6bf9041980658becf581f63fa455b645638 100644 (file)
@@ -760,6 +760,7 @@ do some extra damage when hitting an iron golem with a wet towel
 when already at level 30 and gaining another level--which doesn't increase
        level further but does add more HP and Pw--throttle the increases
 don't stop running when next to a peaceful, unless it blocks the way
+mindless monsters shouldn't cringe stepping on squeaky boards
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index 4d5de461391705af9be3ca27434ad33420fe85cd..32ddde59038ad9033cdd6fa4245bc44f4102130c 100644 (file)
@@ -1155,7 +1155,7 @@ trapeffect_sqky_board(
                 pline("A board beneath %s squeaks %s loudly.",
                       mon_nam(mtmp), trapnote(trap, FALSE));
                 seetrap(trap);
-            } else {
+            } else if (!mindless(mtmp->data)) {
                 pline("%s stops momentarily and appears to cringe.",
                       Monnam(mtmp));
             }