diff options
author | Charles Otto <ottochar@gmail.com> | 2009-11-13 01:50:34 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-13 01:50:34 -0500 |
commit | e55cf763ffe7a240f57663731d820b8bff78219b (patch) | |
tree | 8cea1c95475ca00958b7c89e8abeddeaf732fe00 /crawl-ref/source/beam.cc | |
parent | 5e448f7064f29d42f4d22e177c05acdae0da2d5c (diff) | |
download | crawl-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.cc | 4 |
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; |