summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 293a1995f5..2f2cd1d7d4 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -709,6 +709,10 @@ static void _equip_undead(const coord_def &a, int corps, int monster,
return;
}
+ // Don't equip the undead with holy items.
+ if (is_holy_item(item))
+ continue;
+
mon_inv_type mslot;
switch (item.base_type)