summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.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/player.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/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index c0d0cf39e0..588e95280e 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6369,7 +6369,7 @@ flight_type player::flight_mode() const
if (attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON
|| attribute[ATTR_TRANSFORMATION] == TRAN_BAT)
{
- return FL_FLY;
+ return (FL_FLY);
}
else if (is_levitating())
{