fix #H179 - blinding attack while fainted

From a bug report, being hit with a
yellow light explosion while fainted from lack of food caused blindness
but being hit while sleeping did not.  Make being in fainted state become
a protection against light-induced blindness.
This commit is contained in:
nethack.rankin
2006-08-27 02:09:39 +00:00
parent 63af2521dd
commit 1574c6effd
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -251,6 +251,7 @@ don't place hero on top of monster when arriving on level which is so full
have to see a divine gift in order to have it become a discovery
honor the never-in-hell flag when selecting random monster type for corpses,
eggs, figurines, and statues created in Gehennom
hero is not subject to light-based blindness while fainted from hunger
Platform- and/or Interface-Specific Fixes