summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index bb6c9cbc4c..75a813d937 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3892,7 +3892,7 @@ static void _move_player(coord_def move)
coord_def mon_swap_dest;
- if (targ_monst && !mons_is_submerged(targ_monst))
+ if (targ_monst && !targ_monst->submerged())
{
if (can_swap_places && !beholder)
{