summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 2bab2ccfce..371e407330 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3200,7 +3200,7 @@ void jewellery_wear_effects(item_def &item)
case RING_LEVITATION:
if (!scan_artefacts(ARTP_LEVITATE))
{
- if (player_is_airborne())
+ if (you.airborne())
mpr("You feel vaguely more buoyant than before.");
else
mpr("You feel buoyant.");
@@ -5469,7 +5469,7 @@ void use_artefact(item_def &item, bool *show_msgs, bool unmeld)
if (unknown_proprt(ARTP_LEVITATE)
&& !items_give_ability(item.link, ARTP_LEVITATE))
{
- if (player_is_airborne())
+ if (you.airborne())
mpr("You feel vaguely more buoyant than before.");
else
mpr("You feel buoyant.");