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 5eb31d082b..b648367698 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -953,7 +953,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 (mon->holiness() == MH_HOLY && !is_chaotic_god(mon->god))
+ if (mon->is_holy() && !is_chaotic_god(mon->god))
return (false);
// God gifts from good gods will be protected by their god from