Ensure MON_STILL_ARRIVING bit is cleared before an early return.
This commit is contained in:
nhmall
2026-06-07 23:54:43 -04:00
parent b309392b5a
commit c0f06ac4fd
+3 -1
View File
@@ -463,8 +463,10 @@ mon_arrive(struct monst *mtmp, int when)
here for monsters migrating to a newly created level */
restore_cham(mtmp);
if (mtmp == u.usteed)
if (mtmp == u.usteed) {
mtmp->mstate &= ~MON_STILL_ARRIVING;
return; /* don't place steed on the map */
}
if (when == With_you) {
/* When a monster accompanies you, sometimes it will arrive
at your intended destination and you'll end up next to