summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 03:09:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 03:09:27 +0000
commitb6484c07a27d0856140792f33397930f9e6e7689 (patch)
treedb416d9f1ec48a1df9e9db47ab5fec8dbf2b8cf1 /crawl-ref/source/abl-show.cc
parent2a69f07bc9c2422df79641a79a80568fea28f2b9 (diff)
downloadcrawl-ref-b6484c07a27d0856140792f33397930f9e6e7689.tar.gz
crawl-ref-b6484c07a27d0856140792f33397930f9e6e7689.zip
Fix flight type handling so that spectral things can at least always
levitate again (since their class can), regardless of what actual type they are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 2559e76713..bc0a29fb98 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -844,10 +844,10 @@ bool activate_ability()
else if (you.species == SP_KENKU && you.experience_level >= 5
|| player_mutation_level(MUT_BIG_WINGS))
{
- if (you.flight_mode() == FL_FLY)
- mpr("You're already flying!");
- else if (you.flight_mode() == FL_LEVITATE)
+ if (you.flight_mode() == FL_LEVITATE)
mpr("You can only start flying from the ground.");
+ else if (you.flight_mode() == FL_FLY)
+ mpr("You're already flying!");
}
else
mpr("Sorry, you're not good enough to have a special ability.");