should_displace() does not modify mfndposdata struct pointed at by data param
This commit is contained in:
@@ -1922,8 +1922,8 @@ extern boolean accessible(coordxy, coordxy);
|
||||
extern void set_apparxy(struct monst *) NONNULLARG1;
|
||||
extern boolean can_ooze(struct monst *) NONNULLARG1;
|
||||
extern boolean can_fog(struct monst *) NONNULLARG1;
|
||||
extern boolean should_displace(struct monst *, struct mfndposdata *, coordxy,
|
||||
coordxy) NONNULLPTRS;
|
||||
extern boolean should_displace(struct monst *, const struct mfndposdata *,
|
||||
coordxy, coordxy) NONNULLPTRS;
|
||||
extern boolean undesirable_disp(struct monst *, coordxy, coordxy) NONNULLARG1;
|
||||
extern boolean can_hide_under_obj(struct obj *);
|
||||
|
||||
|
||||
@@ -1069,7 +1069,7 @@ itsstuck(struct monst *mtmp)
|
||||
boolean
|
||||
should_displace(
|
||||
struct monst *mtmp,
|
||||
struct mfndposdata *data,
|
||||
const struct mfndposdata *data,
|
||||
coordxy ggx,
|
||||
coordxy ggy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user