-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #H105 - inconsistent handling of "meditating" monsters (trunk only)
From a bug report, monsters with the wait strategy (described as "meditating" by stethoscope probing) could be affected by music but left meditating. Various wake up attempts shared the same situation. Finish waiting if the monster would have been woken (or pacified). I didn't search for places that diddle the msleeping bit directly instead of calling one of the assorted wake() routines. A fair bit of this is making usage of DEADMONSTER() be consistent. Sooner or later there'll be another monster movement overhaul and those if (DEADMONSTER(mon)) continue; statements will all go away. (Probably just wishful thinking.)
- Loading branch information
nethack.rankin
committed
May 25, 2006
1 parent
c67b978
commit 0620ca1
Showing
3 changed files
with
56 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters