From 59080106b9feb7efcf9f2e3f7d6d0cfdd06c9892 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 30 Jul 2026 21:58:42 -0400 Subject: [PATCH] include clearing of MON_ENDGAME_FREE, MON_ENDGAME_MIGR bits in place_monster Issue reported by @ars3niy Fix #1647 --- src/steed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/steed.c b/src/steed.c index c76c61696..a0366431d 100644 --- a/src/steed.c +++ b/src/steed.c @@ -935,11 +935,11 @@ place_monster(struct monst *mon, coordxy x, coordxy y) bits that may be set. We'll probably make MON_FLOOR an actual bit one day */ - mon->mstate &= ~(MON_OFFMAP | MON_DETACH | MON_LIMBO | MON_MIGRATING); + mon->mstate &= ~(MON_OFFMAP | MON_DETACH | MON_LIMBO | MON_MIGRATING + | MON_ENDGAME_FREE | MON_ENDGAME_MIGR); /* We don't mess with these bits above: - MON_BUBBLEMOVE | MON_ENDGAME_FREE | MON_ENDGAME_MIGR - | MON_OBLITERATE | MON_STILL_ARRIVING | MON_PARKED + MON_BUBBLEMOVE | MON_OBLITERATE | MON_STILL_ARRIVING | MON_PARKED */ }