summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index e991e44b51..2745db78d2 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -4183,8 +4183,7 @@ void bolt::affect_player_enchantment()
else
foe_info.hurt++;
}
-
- if (nice)
+ else if (nice)
{
if (mons_att_wont_attack(attitude))
friend_info.helped++;