From: Pasi Kallinen Date: Thu, 12 Nov 2015 22:06:07 +0000 (+0200) Subject: Fix hiding under nothing when corpse rotted away X-Git-Tag: NetHack-3.6.0_RC01~54^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=489d56d4bb5c32d257bcc071b9056f9496434b38;p=nethack Fix hiding under nothing when corpse rotted away --- diff --git a/src/dig.c b/src/dig.c index 17fcf4553..0d1c24187 100644 --- a/src/dig.c +++ b/src/dig.c @@ -1983,7 +1983,8 @@ long timeout; if (mtmp && !OBJ_AT(x, y) && mtmp->mundetected && hides_under(mtmp->data)) { mtmp->mundetected = 0; - } + } else if (x == u.ux && y == u.uy && u.uundetected && hides_under(youmonst.data)) + (void) hideunder(&youmonst); newsym(x, y); } else if (in_invent) update_inventory();