summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-27 07:44:37 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-27 07:44:37 +0000
commite38d19ed671795b6cb2e177a7f730272ce4f35b0 (patch)
tree954942a07be20fd5c7ad0cd0f0981880aea107b4 /crawl-ref/source/item_use.cc
parenta002f27441e428dadaceb5fa28d260140bc1a66c (diff)
downloadcrawl-ref-e38d19ed671795b6cb2e177a7f730272ce4f35b0.tar.gz
crawl-ref-e38d19ed671795b6cb2e177a7f730272ce4f35b0.zip
[1821098] Fixed bat transform not conferring flight. Fixed player_is_levitating and renamed it to player_is_airborne to describe the function better.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2613 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 906d824b9b..d614bc768c 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3168,7 +3168,7 @@ bool drink_fountain()
if ( feat != DNGN_BLUE_FOUNTAIN && feat != DNGN_SPARKLING_FOUNTAIN )
return false;
- if (you.flies() == FL_LEVITATE)
+ if (you.flight_mode() == FL_LEVITATE)
{
mpr("You're floating high above the fountain.");
return false;