one more follow-up
This commit is contained in:
+1
-1
@@ -258,7 +258,7 @@ struct monst {
|
|||||||
#define mon_perma_blind(mon) (!mon->mcansee && !mon->mblinded)
|
#define mon_perma_blind(mon) (!mon->mcansee && !mon->mblinded)
|
||||||
|
|
||||||
#define MON_OFF_MAP_BITS (MON_OFFMAP | MON_DETACH | MON_LIMBO | MON_MIGRATING \
|
#define MON_OFF_MAP_BITS (MON_OFFMAP | MON_DETACH | MON_LIMBO | MON_MIGRATING \
|
||||||
| MON_ENDGAME_FREE | MON_ENDGAME_MIGR | MON_BUBBLEMOVE)
|
| MON_ENDGAME_FREE | MON_ENDGAME_MIGR | MON_BUBBLEMOVE | MON_PARKED)
|
||||||
|
|
||||||
#define mon_offmap(mon) (((mon)->mstate & (MON_OFF_MAP_BITS)) != 0)
|
#define mon_offmap(mon) (((mon)->mstate & (MON_OFF_MAP_BITS)) != 0)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -938,7 +938,7 @@ place_monster(struct monst *mon, coordxy x, coordxy y)
|
|||||||
mon->mstate &= ~(MON_OFF_MAP_BITS);
|
mon->mstate &= ~(MON_OFF_MAP_BITS);
|
||||||
|
|
||||||
/* We don't mess with these bits above:
|
/* We don't mess with these bits above:
|
||||||
MON_OBLITERATE | MON_STILL_ARRIVING | MON_PARKED
|
MON_OBLITERATE | MON_STILL_ARRIVING
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user