Fix sanity error with migrating monster
This commit is contained in:
@@ -268,7 +268,7 @@ mon_sanity_check(void)
|
|||||||
sanity_check_single_mon(mtmp, FALSE, "migr");
|
sanity_check_single_mon(mtmp, FALSE, "migr");
|
||||||
|
|
||||||
if ((mtmp->mstate
|
if ((mtmp->mstate
|
||||||
& ~(MON_MIGRATING | MON_LIMBO | MON_ENDGAME_MIGR)) != 0L
|
& ~(MON_MIGRATING | MON_LIMBO | MON_ENDGAME_MIGR | MON_OFFMAP)) != 0L
|
||||||
|| !(mtmp->mstate & MON_MIGRATING))
|
|| !(mtmp->mstate & MON_MIGRATING))
|
||||||
impossible("migrating mon (%s) with mstate set to 0x%08lx",
|
impossible("migrating mon (%s) with mstate set to 0x%08lx",
|
||||||
fmt_ptr((genericptr_t) mtmp), mtmp->mstate);
|
fmt_ptr((genericptr_t) mtmp), mtmp->mstate);
|
||||||
|
|||||||
Reference in New Issue
Block a user