vortexes are not really alive

add vortexes to the set of nonliving() monsters
This commit is contained in:
cohrs
2002-02-02 03:50:53 +00:00
parent f5fde02752
commit bd56046f44

View File

@@ -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 */