diff options
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index d4212f73aa..ac8efb3947 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2128,6 +2128,10 @@ bool fall_into_a_pool( int entry_x, int entry_y, bool allow_shift, merfolk_start_swimming(); return (false); } + + // sanity check + if (terrain != DNGN_LAVA && beogh_water_walk()) + return (false); mprf("You fall into the %s!", (terrain == DNGN_LAVA) ? "lava" : |