Moving monsters disturb buried zombies

This commit is contained in:
Pasi Kallinen
2023-12-20 11:17:23 +02:00
parent 3c94b276a2
commit 60dc6343e4

View File

@@ -825,6 +825,8 @@ dochug(register struct monst* mtmp)
/* if confused grabber has wandered off, let go */
if (mtmp == u.ustuck && !next2u(mtmp->mx, mtmp->my))
unstuck(mtmp);
if (grounded(mdat))
disturb_buried_zombies(mtmp->mx, mtmp->my);
/* Maybe it stepped on a trap and fell asleep... */
if (helpless(mtmp))
return 0;