summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc4
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);