summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 65917af34b..917f95518c 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -352,9 +352,9 @@ bool player_in_water(void)
return (you.in_water());
}
-bool player_likes_water(void)
+bool player_likes_water(bool permanently)
{
- return (player_can_swim() || beogh_water_walk());
+ return (player_can_swim() || (!permanently && beogh_water_walk()));
}
bool player_is_swimming(void)