vortexes are not really alive
add vortexes to the set of nonliving() monsters
This commit is contained in:
+2
-1
@@ -156,7 +156,8 @@
|
|||||||
#define is_mind_flayer(ptr) ((ptr) == &mons[PM_MIND_FLAYER] || \
|
#define is_mind_flayer(ptr) ((ptr) == &mons[PM_MIND_FLAYER] || \
|
||||||
(ptr) == &mons[PM_MASTER_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 */
|
/* Used for conduct with corpses, tins, and digestion attacks */
|
||||||
/* G_NOCORPSE monsters might still be swallowed as a purple worm */
|
/* G_NOCORPSE monsters might still be swallowed as a purple worm */
|
||||||
|
|||||||
Reference in New Issue
Block a user