summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index 6b32144a26..6e61dcfd30 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -136,9 +136,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);