]> granicus.if.org Git - nethack/commit
Prevent unique monsters waking up prematurely
authorPasi Kallinen <paxed@alt.org>
Sat, 20 Jun 2015 11:15:02 +0000 (14:15 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 20 Jun 2015 11:15:08 +0000 (14:15 +0300)
commitc574df1239c436c557b54862aa6f35983fc40eb0
tree3a4f069a60d5624f08bb65d2bcaa2e77c5b77a01
parentcba799172f2fe96a6c441cdae4d03bdad56bc475
Prevent unique monsters waking up prematurely

Reported by Stefan:
> I just did the valkyrie quest. When I arrived on quest goal, I took only
> a few steps away from the upstairs and Lord Surtur jumped me. One of the
> monsters in his lair had stepped on one of the guaranteed squeaky boards

Squeaky boards (and other noisy things) woke up monsters that were
meditating. Unfortunately this also woke up such meditating monsters
as the Wiz, or the quest nemesis.

Prevent unique monsters with waiting strategy being woken up by the noise.
src/mon.c
src/music.c