summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/it_use2.cc2
-rw-r--r--crawl-ref/source/player.cc7
2 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index ba6153e452..880eb276cc 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -126,7 +126,7 @@ bool potion_effect( char pot_eff, int pow )
case POT_LEVITATION:
mprf("You feel %s buoyant.",
- (!player_is_levitating()) ? " very" : " more");
+ (!player_is_levitating()) ? "very" : "more");
if (!player_is_levitating())
mpr("You gently float upwards from the floor.");
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 7a96a7921f..b6eefa1aee 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2752,7 +2752,14 @@ void level_change(void)
if (you.experience_level == 5)
mpr("You have gained the ability to fly.", MSGCH_INTRINSIC_GAIN);
else if (you.experience_level == 15)
+ {
mpr("You can now fly continuously.", MSGCH_INTRINSIC_GAIN);
+ if (you.levitation)
+ {
+ you.levitation = 100;
+ you.duration[DUR_CONTROLLED_FLIGHT] = 100;
+ }
+ }
break;
case SP_MERFOLK: