]> granicus.if.org Git - nethack/commit
forcefighting an undetected monster
authorcohrs <cohrs>
Mon, 12 Aug 2002 05:57:40 +0000 (05:57 +0000)
committercohrs <cohrs>
Mon, 12 Aug 2002 05:57:40 +0000 (05:57 +0000)
commita8ac6f6cc6531da8aa98797ccb0e089b7016fb16
treea30c7f8fc2f164fbb7cc2be38834ed8d5de9e58e
parent4d4444f07a401e024b2c85775876cc92fbc66f58
forcefighting an undetected monster
Fix the case <Someone> saw, where forcefighting an undetected monster
would still leave it undetected, resulting in an odd message sequence unless
you kept forcefighting on the next turns.  This also left the monster at a
disadvantage, since it wouldn't fight back. Added a check to wakeup() for this
case, cutting off the possibilities and allowing the monster to fight back.
doc/fixes34.1
src/mon.c