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 3627197c6e..7c77d0d76d 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -867,7 +867,7 @@ static int _xom_give_item(int power, bool debug = false)
static bool _choose_mutatable_monster(const monsters* mon)
{
return (mon->alive() && mon->can_safely_mutate()
- && !mons_is_submerged(mon));
+ && !mon->submerged());
}
static bool _is_chaos_upgradeable(const item_def &item,