summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-05 20:45:39 +0300
committerRobert Vollmert <rvollmert@gmx.net>2009-11-05 18:50:57 +0100
commit08a20c3dc9e4789ebf538ec09963a02a28ae2532 (patch)
treed148339a05bd545491d4fe2255070be805db1aeb /crawl-ref/source/spells1.cc
parentde162132f702a4723cc9390d8c83baa012844161 (diff)
downloadcrawl-ref-08a20c3dc9e4789ebf538ec09963a02a28ae2532.tar.gz
crawl-ref-08a20c3dc9e4789ebf538ec09963a02a28ae2532.zip
Replace uses of player_in_water with you.in_water.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc2
1 files changed, 1 insertions, 1 deletions
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;