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 5e3ea61e92..2901aa805b 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -1006,7 +1006,7 @@ void cast_fly(int power) { int dur_change = 25 + random2(power) + random2(power); - const bool was_levitating = player_is_levitating(); + const bool was_levitating = player_is_airborne(); if (you.duration[DUR_LEVITATION] + dur_change > 100) you.duration[DUR_LEVITATION] = 100; |