From: cohrs Date: Sat, 2 Feb 2002 03:50:53 +0000 (+0000) Subject: vortexes are not really alive X-Git-Tag: MOVE2GIT~3297 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd56046f44cc71ceaca315882c64b58288d2f65b;p=nethack vortexes are not really alive add vortexes to the set of nonliving() monsters --- diff --git a/include/mondata.h b/include/mondata.h index f9e03c934..15237835b 100644 --- a/include/mondata.h +++ b/include/mondata.h @@ -156,7 +156,8 @@ #define is_mind_flayer(ptr) ((ptr) == &mons[PM_MIND_FLAYER] || \ (ptr) == &mons[PM_MASTER_MIND_FLAYER]) -#define nonliving(ptr) (is_golem(ptr) || is_undead(ptr)) +#define nonliving(ptr) (is_golem(ptr) || is_undead(ptr) || \ + (ptr)->mlet == S_VORTEX) /* Used for conduct with corpses, tins, and digestion attacks */ /* G_NOCORPSE monsters might still be swallowed as a purple worm */