From 08a20c3dc9e4789ebf538ec09963a02a28ae2532 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 20:45:39 +0300 Subject: Replace uses of player_in_water with you.in_water. Signed-off-by: Robert Vollmert --- crawl-ref/source/spells1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index df0bcebb33..0267230e41 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -1459,7 +1459,7 @@ void cast_berserk(void) void cast_swiftness(int power) { - if (player_in_water()) + if (you.in_water()) { mpr("The water foams!"); return; -- cgit v1.2.3-54-g00ecf