Fix monster postmove moving off-map monster
This commit is contained in:
@@ -1511,6 +1511,8 @@ postmov(
|
|||||||
if (mtmp->mx)
|
if (mtmp->mx)
|
||||||
newsym(mtmp->mx, mtmp->my);
|
newsym(mtmp->mx, mtmp->my);
|
||||||
return MMOVE_DIED; /* it died */
|
return MMOVE_DIED; /* it died */
|
||||||
|
} else if (mon_offmap(mtmp)) {
|
||||||
|
return MMOVE_DONE;
|
||||||
}
|
}
|
||||||
ptr = mtmp->data; /* in case mintrap() caused polymorph */
|
ptr = mtmp->data; /* in case mintrap() caused polymorph */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user