include clearing of MON_ENDGAME_FREE, MON_ENDGAME_MIGR bits in place_monster
Issue reported by @ars3niy Fix #1647
This commit is contained in:
+3
-3
@@ -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
|
bits that may be set. We'll probably make MON_FLOOR an
|
||||||
actual bit one day */
|
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:
|
/* We don't mess with these bits above:
|
||||||
MON_BUBBLEMOVE | MON_ENDGAME_FREE | MON_ENDGAME_MIGR
|
MON_BUBBLEMOVE | MON_OBLITERATE | MON_STILL_ARRIVING | MON_PARKED
|
||||||
| MON_OBLITERATE | MON_STILL_ARRIVING | MON_PARKED
|
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user