diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-05 19:28:56 +0300 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-05 17:31:29 +0100 |
commit | 48f785a271089f4f85bdfb5624b56b433e0ebd13 (patch) | |
tree | 3eaeea9d8cfe68e9545478f6f50d4cdb3a5aaab7 /crawl-ref/source/output.cc | |
parent | 0dc3e02bc8bc01336bd9421257635b49d646502d (diff) | |
download | crawl-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/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index a940e5e870..d5505d48ac 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -668,7 +668,7 @@ static void _get_status_lights(std::vector<status_light>& out) out.push_back(status_light(color, "Ins")); } - if (player_is_airborne()) + if (you.airborne()) { const bool perm = you.permanent_flight(); const bool expiring = (!perm && dur_expiring(DUR_LEVITATION)); @@ -1907,7 +1907,7 @@ static std::vector<formatted_string> _get_overview_resistances( cols.add_formatted(1, buf, false); const int rctel = player_control_teleport(calc_unid); - const int rlevi = player_is_airborne(); + const int rlevi = you.airborne(); const int rcfli = wearing_amulet(AMU_CONTROLLED_FLIGHT, calc_unid); snprintf(buf, sizeof buf, "%sCtrl.Telep.: %s\n" @@ -2160,7 +2160,7 @@ std::string _status_mut_abilities() if (you.duration[DUR_BERSERKER]) status.push_back("berserking"); - if (player_is_airborne()) + if (you.airborne()) { std::string help; if (wearing_amulet( AMU_CONTROLLED_FLIGHT )) |