]> granicus.if.org Git - nethack/commit
blind-from-birth fix
authorPatR <rankin@nethack.org>
Wed, 3 Jun 2015 00:30:16 +0000 (17:30 -0700)
committerPatR <rankin@nethack.org>
Wed, 3 Jun 2015 00:30:16 +0000 (17:30 -0700)
commita1aebc336c21b60b1eddb8a6caea6bb666fc1c15
treeca62d42c077a4d32c72f354c439955fc32610b1f
parentad7310bec69d6c330f1082bbe5b69cc2c57be022
blind-from-birth fix

The Blindfolded_only macro didn't track u.uroleplay.blind so would
give a false positive if wearing a blindfold, not able to see due to
the blind option, and not afflicted with any other blindness factors.
Dipping a worn blindfold into holy or unholy water is supposed to
reveal a glow if that blindfold is the only reason for blindness but
the glow was described even when blind-from-birth.

There's no feedback at all when the glow isn't seen.  I'm punting on
that one.  (This change didn't introduce that, just added one extra
situation where it happens.)
include/youprop.h