fix #H4275 - blinded, stunned, confused timers
commit13c40d85e7bb8aa9450e933ea9ac2c205d3b2e29
authorPatR <rankin@nethack.org>
Tue, 15 Mar 2016 08:00:36 +0000 (15 01:00 -0700)
committerPatR <rankin@nethack.org>
Tue, 15 Mar 2016 08:00:36 +0000 (15 01:00 -0700)
tree19dfd24c6770d399af21c87f7d1c781eee207aa2
parent77fe8db3202bb4bf11ee9577c4b9fe7c28317a7a
fix #H4275 - blinded, stunned, confused timers

Blindness due to face covered by pie was ignored for several cases
of magically curing blindness--cleaning the face seems better than
adjusting timeout to account for u.ucreamed for those cases.  A few
instances of taking stun or confusion damage overrode existing stun
or confusion rather than increasing it.  Plus a copy/paste mistake
for dual stun+confusion when casting an expired spell.

There was also a suggestion that vomiting when already nauseated
should decrement the timer instead of increasing it.  But there is a
negative effect for as long as it's in effect, so I left that as is.
doc/fixes36.1
src/eat.c
src/mhitu.c
src/potion.c
src/pray.c
src/sit.c
src/spell.c