]> granicus.if.org Git - nethack/commitdiff
salamanders immune to sliming
authorcohrs <cohrs>
Wed, 6 Feb 2002 04:06:41 +0000 (04:06 +0000)
committercohrs <cohrs>
Wed, 6 Feb 2002 04:06:41 +0000 (04:06 +0000)
Since salamanders are plane-of-fire creatures, they too should be immune to
fire like fire elementals & vortexes

src/eat.c

index b6ebb1171b5ac76c2bd4d571c612c69e209e8f77..7de3a51593bdcfc10e661e35ffdd7039652f34c6 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -1676,6 +1676,7 @@ struct obj *otmp;
                    stoneorslime = (!Unchanging &&
                        youmonst.data != &mons[PM_FIRE_VORTEX] &&
                        youmonst.data != &mons[PM_FIRE_ELEMENTAL] &&
+                       youmonst.data != &mons[PM_SALAMANDER] &&
                        youmonst.data != &mons[PM_GREEN_SLIME]);
 
                if (cadaver && mnum != PM_LIZARD && mnum != PM_LICHEN) {