From 48f785a271089f4f85bdfb5624b56b433e0ebd13 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 19:28:56 +0300 Subject: Replace uses of player_is_airborne with you.airborne. Signed-off-by: Robert Vollmert --- crawl-ref/source/spells1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index fa95cae514..df0bcebb33 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -1481,7 +1481,7 @@ void cast_swiftness(int power) void cast_fly(int power) { const int dur_change = 25 + random2(power) + random2(power); - const bool was_levitating = player_is_airborne(); + const bool was_levitating = you.airborne(); you.duration[DUR_LEVITATION] += dur_change; if (you.duration[DUR_LEVITATION] > 100) -- cgit v1.2.3-54-g00ecf