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:
@@ -234,7 +234,7 @@ forcelock(void)
|
||||
return ((gx.xlock.usedtime = 0));
|
||||
}
|
||||
} else /* blunt */
|
||||
wake_nearby(); /* due to hammering on the container */
|
||||
wake_nearby(FALSE); /* due to hammering on the container */
|
||||
|
||||
if (rn2(100) >= gx.xlock.chance)
|
||||
return 1; /* still busy */
|
||||
|
||||
Reference in New Issue
Block a user