]> granicus.if.org Git - nethack/commit
fix #H7334 - hearing seduction msgs while deaf
authorPatR <rankin@nethack.org>
Fri, 3 Aug 2018 01:44:41 +0000 (18:44 -0700)
committerPatR <rankin@nethack.org>
Fri, 3 Aug 2018 01:44:41 +0000 (18:44 -0700)
commit77ad700801d7aebced12416cbb40fd45cba5b18e
tree35ca2b5cb9dcd817a7cdf14b617cbbec4de01595
parent4dabfb5c3c7a5e37509b5bc7dab57bff0cbd787d
fix #H7334 - hearing seduction msgs while deaf

Various seduction messages with a verbal component were being given
to hero even when deaf.  This uses alternate messages if some cases
and bypasses the message in others.  In particular, if hero is deaf
then he or she will not be given the choice to decline removing a
piece of armor--or taking off or putting on a ring of adornment--
that can ordinarily occur (based on die roll against Charisma).

The seduction code was also using '!Blind' to test whether the hero
could see his/her seducer, ignoring the possibility that it might be
invisible.  I think the only ramification is that "It" would appear
in messages instead of the "She" or "He" that are explicitly used
when not seen due to blindness.
doc/fixes36.2
src/mhitu.c