]> granicus.if.org Git - nethack/commit
U1041 - monster hidden under a corpse not displayed immediately when it rots
authorcohrs <cohrs>
Fri, 21 May 2004 21:33:19 +0000 (21:33 +0000)
committercohrs <cohrs>
Fri, 21 May 2004 21:33:19 +0000 (21:33 +0000)
commitc6d488fb8d0f95bdefcf27f63e7f58fb14f2ecce
tree0d31dfd3a104100028893e4ddc5396c27a2176f2
parent0414c09c7a658efb1538407c038f12f866264ef5
U1041 - monster hidden under a corpse not displayed immediately when it rots
There was already code to ensure that if a hidden monster moved, it would
no longer be hidden.  However, if the monster is asleep or whatever under
a rotting corpse, when the corpse rotted away, the monster would not
immediately become detected.  Add a check to the rot code before the newsym.
doc/fixes35.0
src/dig.c