Dropping items disturbs buried zombies
This commit is contained in:
@@ -993,6 +993,7 @@ extern boolean test_move(coordxy, coordxy, coordxy, coordxy, int);
|
|||||||
extern int wiz_debug_cmd_traveldisplay(void);
|
extern int wiz_debug_cmd_traveldisplay(void);
|
||||||
#endif
|
#endif
|
||||||
extern boolean u_rooted(void);
|
extern boolean u_rooted(void);
|
||||||
|
extern void check_buried_zombies(coordxy, coordxy);
|
||||||
extern boolean u_maybe_impaired(void);
|
extern boolean u_maybe_impaired(void);
|
||||||
extern const char *u_locomotion(const char *);
|
extern const char *u_locomotion(const char *);
|
||||||
extern void handle_tip(int);
|
extern void handle_tip(int);
|
||||||
|
|||||||
1
src/do.c
1
src/do.c
@@ -305,6 +305,7 @@ flooreffects(struct obj *obj, coordxy x, coordxy y, const char *verb)
|
|||||||
&& cansee(x,y)) {
|
&& cansee(x,y)) {
|
||||||
doaltarobj(obj);
|
doaltarobj(obj);
|
||||||
}
|
}
|
||||||
|
check_buried_zombies(x, y);
|
||||||
|
|
||||||
gb.bhitpos = save_bhitpos;
|
gb.bhitpos = save_bhitpos;
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ static int moverock(void);
|
|||||||
static void dosinkfall(void);
|
static void dosinkfall(void);
|
||||||
static boolean findtravelpath(int);
|
static boolean findtravelpath(int);
|
||||||
static boolean trapmove(coordxy, coordxy, struct trap *);
|
static boolean trapmove(coordxy, coordxy, struct trap *);
|
||||||
static void check_buried_zombies(coordxy, coordxy);
|
|
||||||
static schar u_simple_floortyp(coordxy, coordxy);
|
static schar u_simple_floortyp(coordxy, coordxy);
|
||||||
static boolean swim_move_danger(coordxy, coordxy);
|
static boolean swim_move_danger(coordxy, coordxy);
|
||||||
static boolean domove_bump_mon(struct monst *, int);
|
static boolean domove_bump_mon(struct monst *, int);
|
||||||
@@ -1594,7 +1593,7 @@ u_rooted(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* reduce zombification timeout of buried zombies around px, py */
|
/* reduce zombification timeout of buried zombies around px, py */
|
||||||
static void
|
void
|
||||||
check_buried_zombies(coordxy x, coordxy y)
|
check_buried_zombies(coordxy x, coordxy y)
|
||||||
{
|
{
|
||||||
struct obj *otmp;
|
struct obj *otmp;
|
||||||
|
|||||||
Reference in New Issue
Block a user