summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godwrath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r--crawl-ref/source/godwrath.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc
index 3243efd929..5a9ec116c0 100644
--- a/crawl-ref/source/godwrath.cc
+++ b/crawl-ref/source/godwrath.cc
@@ -47,11 +47,11 @@ static bool _tso_holy_revenge();
static bool _yred_random_zombified_hostile()
{
- const bool skel = one_chance_in(4);
-
monster_type z_type = MONS_PROGRAM_BUG;
monster_type z_base = pick_random_zombie();
+ const bool skel = mons_skeleton(z_base) && one_chance_in(4);
+
if (mons_zombie_size(z_base) == Z_BIG)
z_type = skel ? MONS_SKELETON_LARGE : MONS_ZOMBIE_LARGE;
else