sliming ghosts

From a bug report.  Green slime would slime noncorporeals.
Added missing checks.
This commit is contained in:
cohrs
2005-03-14 16:27:35 +00:00
parent f1bf488367
commit 59cc0d221b
4 changed files with 4 additions and 0 deletions

View File

@@ -1512,6 +1512,7 @@ dopois:
pline_The("slime burns away!");
dmg = 0;
} else if (Unchanging ||
noncorporeal(youmonst.data) ||
youmonst.data == &mons[PM_GREEN_SLIME]) {
You("are unaffected.");
dmg = 0;