summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-13 01:50:34 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-13 01:50:34 -0500
commite55cf763ffe7a240f57663731d820b8bff78219b (patch)
tree8cea1c95475ca00958b7c89e8abeddeaf732fe00 /crawl-ref/source/beam.cc
parent5e448f7064f29d42f4d22e177c05acdae0da2d5c (diff)
downloadcrawl-ref-e55cf763ffe7a240f57663731d820b8bff78219b.tar.gz
crawl-ref-e55cf763ffe7a240f57663731d820b8bff78219b.zip
Use monster_iterator in ballistomycete functions
Also some comment and whitespace changes.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 973962a6af..4d4d2526f6 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3108,13 +3108,13 @@ void bolt::affect_ground()
{
beh_type beh;
// Half the fungi in arena mode are friendly.
- if(crawl_state.arena)
+ if (crawl_state.arena)
{
beh = coinflip() ? BEH_FRIENDLY : BEH_HOSTILE;
}
else
{
- switch(this->attitude)
+ switch (this->attitude)
{
case ATT_NEUTRAL:
beh = BEH_NEUTRAL;