Pets considered any noise made by hero as whistling
In 3.6.2 parts of the wakeup code were merged together, and this caused pets consider any noise made by the hero - such as hitting iron bars or digging - as whistling for them to come to the hero. Change it to only consider actual whistling and ringing a bell.
This commit is contained in:
@@ -1716,7 +1716,7 @@ extern void m_respond(struct monst *) NONNULLARG1;
|
||||
extern void setmangry(struct monst *, boolean) NONNULLARG1;
|
||||
extern void wake_msg(struct monst *, boolean) NONNULLARG1;
|
||||
extern void wakeup(struct monst *, boolean) NONNULLARG1;
|
||||
extern void wake_nearby(void);
|
||||
extern void wake_nearby(boolean);
|
||||
extern void wake_nearto(coordxy, coordxy, int);
|
||||
extern void seemimic(struct monst *) NONNULLARG1;
|
||||
extern void normal_shape(struct monst *) NONNULLARG1;
|
||||
|
||||
Reference in New Issue
Block a user