]> granicus.if.org Git - nethack/commitdiff
buglist: Vlad can turn to flee and be paralyzed at the same time
authornethack.allison <nethack.allison>
Sat, 18 Oct 2003 14:02:25 +0000 (14:02 +0000)
committernethack.allison <nethack.allison>
Sat, 18 Oct 2003 14:02:25 +0000 (14:02 +0000)
This is a cop-out in that it just suppresses the message.

doc/fixes34.3
src/monmove.c

index 0f0c1de5bef82909b02657654b4517646ede6214..58c8fabf2df5ae8e250bed1d1c8831f82f0701ef 100644 (file)
@@ -50,6 +50,7 @@ eating an amulet of unchanging un-changes you
 Vlad won't waste time trying to use wand of digging in his own tower
 non-weapon iron objects should rust when dipped in fountains since
        iron weapons rust
+suppress "turn to flee" message if monster is mfrozen
 
 
 Platform- and/or Interface-Specific Fixes
index ff4546f86e9b5f26703e239bc72da020d51d7dcd..be4bdb8ae6efb5a8bf5fcb44a9874db0f7ddddfa 100644 (file)
@@ -214,7 +214,7 @@ boolean fleemsg;
                if (fleetime == 1) fleetime++;
                mtmp->mfleetim = min(fleetime, 127);
            }
-           if (!mtmp->mflee && fleemsg && canseemon(mtmp))
+           if (!mtmp->mflee && fleemsg && canseemon(mtmp) && !mtmp->mfrozen)
                pline("%s turns to flee!", (Monnam(mtmp)));
            mtmp->mflee = 1;
        }