Apply dest. limit to monster trap door usage
To prevent monsters from falling past the bottom level or into the sanctum early, and to maintain consistency between monster and hero hole usage.
This commit is contained in:
committed by
Pasi Kallinen
parent
9f5b362601
commit
81285b661e
@@ -2796,6 +2796,7 @@ extern boolean burnarmor(struct monst *);
|
||||
extern int erode_obj(struct obj *, const char *, int, int);
|
||||
extern boolean grease_protect(struct obj *, const char *, struct monst *);
|
||||
extern struct trap *maketrap(coordxy, coordxy, int);
|
||||
extern d_level *clamp_hole_destination(d_level *);
|
||||
extern void fall_through(boolean, unsigned);
|
||||
extern struct monst *animate_statue(struct obj *, coordxy, coordxy, int, int *);
|
||||
extern struct monst *activate_statue_trap(struct trap *, coordxy, coordxy,
|
||||
|
||||
Reference in New Issue
Block a user