Fix monster postmove moving off-map monster

This commit is contained in:
Pasi Kallinen
2026-04-29 15:43:55 +03:00
parent 62cfbdc4a0
commit a3fdf22153
+2
View File
@@ -1511,6 +1511,8 @@ postmov(
if (mtmp->mx)
newsym(mtmp->mx, mtmp->my);
return MMOVE_DIED; /* it died */
} else if (mon_offmap(mtmp)) {
return MMOVE_DONE;
}
ptr = mtmp->data; /* in case mintrap() caused polymorph */