From e55cf763ffe7a240f57663731d820b8bff78219b Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 13 Nov 2009 01:50:34 -0500 Subject: Use monster_iterator in ballistomycete functions Also some comment and whitespace changes. --- crawl-ref/source/beam.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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; -- cgit v1.2.3-54-g00ecf