diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 03:09:27 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 03:09:27 +0000 |
commit | b6484c07a27d0856140792f33397930f9e6e7689 (patch) | |
tree | db416d9f1ec48a1df9e9db47ab5fec8dbf2b8cf1 /crawl-ref/source/ghost.cc | |
parent | 2a69f07bc9c2422df79641a79a80568fea28f2b9 (diff) | |
download | crawl-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/ghost.cc')
-rw-r--r-- | crawl-ref/source/ghost.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc index 97bcca30a5..a2986add5c 100644 --- a/crawl-ref/source/ghost.cc +++ b/crawl-ref/source/ghost.cc @@ -198,8 +198,8 @@ void ghost_demon::init_random_demon() spellcaster = !one_chance_in(10); // Does demon fly? - fly = (one_chance_in(3)? FL_NONE : - one_chance_in(5)? FL_LEVITATE : FL_FLY); + fly = (one_chance_in(3) ? FL_NONE : + one_chance_in(5) ? FL_LEVITATE : FL_FLY); // hit dice: xl = 10 + roll_dice(2, 10); |