various tests of flaming monsters
This change adds a new flaming() macro and uses it in several places where the list of flaming monsters was tested. on_fire() didn't list salamanders as already being on fire, but should have. A couple other cases were not updated to include flaming sphere.
This commit is contained in:
@@ -407,8 +407,7 @@ int mntmp;
|
||||
You("no longer feel sick.");
|
||||
}
|
||||
if (Slimed) {
|
||||
if (mntmp == PM_FIRE_VORTEX || mntmp == PM_FIRE_ELEMENTAL ||
|
||||
mntmp == PM_SALAMANDER || mntmp == PM_FLAMING_SPHERE) {
|
||||
if (flaming(youmonst.data)) {
|
||||
pline_The("slime burns away!");
|
||||
Slimed = 0L;
|
||||
context.botl = 1;
|
||||
|
||||
Reference in New Issue
Block a user