flaming sphere and sliming

Reported to rgrn vs 3.4.1, polymorphing into other flaming monsters cures
sliming, but polymorphing to a flaming sphere did not.
This commit is contained in:
cohrs
2003-09-02 03:58:33 +00:00
parent 3444083f28
commit 5ba58b7229
2 changed files with 3 additions and 1 deletions

View 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

View 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;