From 22ab0456d0dedfbb22bbd447863c03e4a25af302 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 30 Apr 2026 01:28:07 -0400 Subject: [PATCH] follow-up: don't clear the bit until end of function --- src/dog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dog.c b/src/dog.c index 675ca4676..742af8dc8 100644 --- a/src/dog.c +++ b/src/dog.c @@ -606,7 +606,6 @@ mon_arrive(struct monst *mtmp, int when) mtmp->mx = 0; /*(already is 0)*/ mtmp->my = xyflags; - mtmp->mstate &= ~MON_STILL_ARRIVING; if (xlocale) failed_to_place = !mnearto(mtmp, xlocale, ylocale, FALSE, RLOC_NOMSG); @@ -620,6 +619,7 @@ mon_arrive(struct monst *mtmp, int when) else /* when==Wiz_arrive => not being called by losedogs() */ m_into_limbo(mtmp); } + mtmp->mstate &= ~MON_STILL_ARRIVING; } /* heal monster for time spent elsewhere */