diff options
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r-- | crawl-ref/source/terrain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc index b3ea553313..86b4e9cf14 100644 --- a/crawl-ref/source/terrain.cc +++ b/crawl-ref/source/terrain.cc @@ -705,7 +705,7 @@ void _dgn_check_terrain_player(const coord_def pos) // there aren't any adjacent squares where it can stay // submerged then move it. monsters* mon = monster_at(pos); - if (mon && !mons_is_submerged(mon)) + if (mon && !mon->submerged()) monster_teleport(mon, true, false); move_player_to_grid(pos, false, true, true); } |