Fix ceiling hiders on pools
While fuzzing, I saw a sanity checking error complaining about a ceiling hider being on top of a pool; the rock piercer was teleported on top of the pool while it was hiding in the ceiling. Try to be a bit more consistent when a monster is hiding in ceiling, and if it's valid for it to be on a pool.
This commit is contained in:
@@ -1559,6 +1559,7 @@ extern int max_mon_load(struct monst *);
|
||||
extern boolean can_touch_safely(struct monst *, struct obj *);
|
||||
extern int can_carry(struct monst *, struct obj *);
|
||||
extern long mon_allowflags(struct monst *);
|
||||
extern boolean m_in_air(struct monst *);
|
||||
extern int mfndpos(struct monst *, coord *, long *, long);
|
||||
extern boolean monnear(struct monst *, coordxy, coordxy);
|
||||
extern void dmonsfree(void);
|
||||
|
||||
Reference in New Issue
Block a user