Fix hiding under nothing when corpse rotted away

This commit is contained in:
Pasi Kallinen
2015-11-13 00:06:07 +02:00
parent ca02f00208
commit 489d56d4bb

View File

@@ -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();