From a30a205c45e97c45d39f8af71ad0e25cc581667b Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 1 Dec 2023 22:15:10 +0200 Subject: [PATCH] Fix sanity error with migrating monster --- src/mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon.c b/src/mon.c index 0dcde0d15..6ee8f6d28 100644 --- a/src/mon.c +++ b/src/mon.c @@ -268,7 +268,7 @@ mon_sanity_check(void) sanity_check_single_mon(mtmp, FALSE, "migr"); 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)) impossible("migrating mon (%s) with mstate set to 0x%08lx", fmt_ptr((genericptr_t) mtmp), mtmp->mstate);