diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 07:44:37 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 07:44:37 +0000 |
commit | e38d19ed671795b6cb2e177a7f730272ce4f35b0 (patch) | |
tree | 954942a07be20fd5c7ad0cd0f0981880aea107b4 /crawl-ref/source/it_use2.cc | |
parent | a002f27441e428dadaceb5fa28d260140bc1a66c (diff) | |
download | crawl-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/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index a43fac7311..568a6c24a4 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -137,9 +137,9 @@ bool potion_effect( potion_type pot_eff, int pow ) case POT_LEVITATION: mprf("You feel %s buoyant.", - (!player_is_levitating()) ? "very" : "more"); + (!player_is_airborne()) ? "very" : "more"); - if (!player_is_levitating()) + if (!player_is_airborne()) mpr("You gently float upwards from the floor."); you.duration[DUR_LEVITATION] += 25 + random2(pow); |