summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-05 19:28:56 +0300
committerRobert Vollmert <rvollmert@gmx.net>2009-11-05 17:31:29 +0100
commit48f785a271089f4f85bdfb5624b56b433e0ebd13 (patch)
tree3eaeea9d8cfe68e9545478f6f50d4cdb3a5aaab7 /crawl-ref/source/abl-show.cc
parent0dc3e02bc8bc01336bd9421257635b49d646502d (diff)
downloadcrawl-ref-48f785a271089f4f85bdfb5624b56b433e0ebd13.tar.gz
crawl-ref-48f785a271089f4f85bdfb5624b56b433e0ebd13.zip
Replace uses of player_is_airborne with you.airborne.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 3c3a1f6a85..218bd0d648 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -2301,7 +2301,7 @@ std::vector<talent> your_talents(bool check_confused)
_add_talent(talents, ABIL_TRAN_BAT, check_confused);
}
- if (!player_is_airborne() && !transform_changed_physiology())
+ if (!you.airborne() && !transform_changed_physiology())
{
// Kenku can fly, but only from the ground
// (until level 15, when it becomes permanent until revoked).