follow-up: don't clear the bit until end of function

This commit is contained in:
nhmall
2026-04-30 01:28:07 -04:00
parent 2b985be3b9
commit 22ab0456d0
+1 -1
View File
@@ -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 */