]> granicus.if.org Git - nethack/commit
fix #H4035 - msg when wand zapped by mon explodes
authorPatR <rankin@nethack.org>
Fri, 11 Dec 2015 02:11:12 +0000 (18:11 -0800)
committerPatR <rankin@nethack.org>
Fri, 11 Dec 2015 02:11:12 +0000 (18:11 -0800)
commitef5b37a03a46b2524a4d8eff42c447c419da63e2
tree8f9b86be7ca040be60748d4a95539b809f684deb
parent1b0fb561d489520a51978494404ef0482045f2e9
fix #H4035 - msg when wand zapped by mon explodes

Message given when you see a cursed wand explode while being zapped
by a monster got suppressed if hero was deaf, even though there's no
reference to sound in that message.  Change it to ignore deafness;
also, change the alternate message when not visible (which uses
You_hear so already gets suppressed when deaf without caller worrying
about it) use "nearby" or "in the distance" with same criteria as
hearing a wand being zapped, instead of always "in the distance".

I also changed the near/far criteria:  threshold to be considered
"far" shrinks from 9 steps to 5 when there's no direct line of sight.
src/muse.c