]> granicus.if.org Git - nethack/commit
re-fix #H1371 - dead monster fleeing
authornethack.rankin <nethack.rankin>
Mon, 20 Aug 2007 00:05:24 +0000 (00:05 +0000)
committernethack.rankin <nethack.rankin>
Mon, 20 Aug 2007 00:05:24 +0000 (00:05 +0000)
commit86fccb4e1a0c8851623898454f54a2b7265f9b87
tree15c1dbae3827a86ca4a59cd23b55171f2fadf741
parent6bf7c5a1eb9da05d380980750e34ccfddda3d1d8
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.
doc/fixes34.4
src/monmove.c