summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 8aa8bedff3..2a51fcf882 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -769,13 +769,7 @@ static int place_monster_aux( int mon_type, beh_type behaviour, int target,
mgrd[fx][fy] = id;
// generate a brand shiny new monster, or zombie
- if (mon_type == MONS_ZOMBIE_SMALL
- || mon_type == MONS_ZOMBIE_LARGE
- || mon_type == MONS_SIMULACRUM_SMALL
- || mon_type == MONS_SIMULACRUM_LARGE
- || mon_type == MONS_SKELETON_SMALL
- || mon_type == MONS_SKELETON_LARGE
- || mon_type == MONS_SPECTRAL_THING)
+ if (mons_class_is_zombified(mon_type))
{
define_zombie( id, extra, mon_type, power );
}