diff options
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |