summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 8cd082be50..121075fae4 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -952,7 +952,7 @@ static bool _choose_chaos_upgrade(const monsters* mon)
// Holy beings are presumably protected by another god, unless
// they're gifts from a chaotic god.
- if (mons_is_holy(mon) && !is_chaotic_god(mon->god))
+ if (mon->holiness() == MH_HOLY && !is_chaotic_god(mon->god))
return (false);
// God gifts from good gods will be protected by their god from