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 17bd18b9f0..9fd5def20c 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -962,7 +962,7 @@ static bool _choose_chaos_upgrade(const monsters* mon)
// Beogh presumably doesn't want Xom messing with his orcs, even if
// it would give them a better weapon.
if (mons_species(mon->type) == MONS_ORC
- && (mons_class_flag(mon->type, M_PRIEST) || coinflip()))
+ && (mon->is_priest() || coinflip()))
{
return (false);
}