re-fix #H1371 - dead monster fleeing

From a bug report, a monster which
died by moving into a trap which was next to the hero standing on Elbereth
resulted in "The <mon> is killed!  The <mon> turns to flee!".  An earlier
change made monflee() return if it's given a dead monster, so the fleeing
message is no longer given.  This fixes the place where monflee() was
inappropriately being called for a dead monster in the reported situation.
This commit is contained in:
nethack.rankin
2007-08-20 00:05:24 +00:00
parent 6bf7c5a1eb
commit 86fccb4e1a
2 changed files with 5 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ grammar of messages regarding eating artifacts
avoid a message about an invisible monster looking much better
player polymorphed as a xorn could not pick up items in pits
don't display "turns to flee" message for a mimicing mimic
don't display "turns to flee" message for a monster who has just died
dipping acid in a fountain could cause an explosion but not destroy the potion
if your blindfold glows and you're not otherwise blinded, you can see it
added strsubst() to hacklib