]> granicus.if.org Git - nethack/commitdiff
Staff of Aesculapius didn't always cure sliming
authorcohrs <cohrs>
Tue, 21 May 2002 16:14:36 +0000 (16:14 +0000)
committercohrs <cohrs>
Tue, 21 May 2002 16:14:36 +0000 (16:14 +0000)
- incorporated <Someone>'s 1-line fix to the precheck

doc/fixes34.1
src/artifact.c

index c41a31dedf7877072f581b20e069f42fc23c5aa3..9304f5726fcb29f59fb779cf303c6b0a27c6936a 100644 (file)
@@ -110,6 +110,7 @@ when polymorphed, player killing a paper or straw golem via fire damage
 usually stop mimicing if you polymorph while using #monster mimic capability
 under !GOLDOBJ, gold shouldn't disappear if you try to throw it at yourself
 under !GOLDOBJ, remove temp gold from inventory during restore
+Staff of Aesculapius did not always cure sliming
 
 
 Platform- and/or Interface-Specific Fixes
index 071864052399c361fce7aef14e8e8f6d229a071f..99f4a3e763b20545b1e83eeb50b6b3b9cd0fb4fd 100644 (file)
@@ -1138,7 +1138,7 @@ arti_invoke(obj)
            long creamed = (long)u.ucreamed;
 
            if (Upolyd) healamt = (u.mhmax + 1 - u.mh) / 2;
-           if (healamt || Sick || Blinded > creamed)
+           if (healamt || Sick || Slimed || Blinded > creamed)
                You_feel("better.");
            else
                goto nothing_special;