summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 1d9cd61e90..314782f8cc 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -8680,6 +8680,11 @@ static bool _mon_can_move_to_pos(const monsters *monster,
const dungeon_feature_type target_grid = grd(targ);
const habitat_type habitat = mons_primary_habitat(monster);
+ // The kraken is so large it cannot enter shallow water.
+ // Its tentacles can, and will, though.
+ if (monster->type == MONS_KRAKEN && target_grid == DNGN_SHALLOW_WATER)
+ return (false);
+
// Effectively slows down monster movement across water.
// Fire elementals can't cross at all.
bool no_water = false;