]> granicus.if.org Git - nethack/commitdiff
flaming sphere and sliming
authorcohrs <cohrs>
Tue, 2 Sep 2003 03:58:33 +0000 (03:58 +0000)
committercohrs <cohrs>
Tue, 2 Sep 2003 03:58:33 +0000 (03:58 +0000)
Reported to rgrn vs 3.4.1, polymorphing into other flaming monsters cures
sliming, but polymorphing to a flaming sphere did not.

doc/fixes34.3
src/polyself.c

index de130d9b332cbab1002c83b9e1e253738d72b366..b1c8e2038673becdfbaae934fe001487948b085a 100644 (file)
@@ -3,6 +3,7 @@ $RCSfile$ $Revision$ $Date$
 General Fixes and Modified Features
 -----------------------------------
 monster draining the player using Stormbringer decreased monster's hitpoints
+polymorphing to a flaming sphere should cure slime like other flaming monsters
 
 
 Platform- and/or Interface-Specific Fixes
index 352b32fa1dcdddd29720a345e1cb5ae6bd4c488b..b967e07f2cc7705280532f5d607c83c2a5d17832 100644 (file)
@@ -408,7 +408,8 @@ int mntmp;
                You("no longer feel sick.");
        }
        if (Slimed) {
-           if (mntmp == PM_FIRE_VORTEX || mntmp == PM_FIRE_ELEMENTAL || mntmp == PM_SALAMANDER) {
+           if (mntmp == PM_FIRE_VORTEX || mntmp == PM_FIRE_ELEMENTAL ||
+               mntmp == PM_SALAMANDER || mntmp == PM_FLAMING_SPHERE) {
                pline_The("slime burns away!");
                Slimed = 0L;
                flags.botl = 1;