From bd56046f44cc71ceaca315882c64b58288d2f65b Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 2 Feb 2002 03:50:53 +0000 Subject: [PATCH] vortexes are not really alive add vortexes to the set of nonliving() monsters --- include/mondata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */