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.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 1c82831ed9..e38023ebb8 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3897,6 +3897,10 @@ void bolt::affect_player()
was_affected = true;
}
}
+
+ // Acid.
+ if (flavour == BEAM_ACID)
+ splash_with_acid(5, affects_items);
if (affects_items)
{
@@ -3912,9 +3916,6 @@ void bolt::affect_player()
if (flavour == BEAM_COLD)
expose_player_to_element(BEAM_COLD, burn_power);
- if (flavour == BEAM_ACID)
- splash_with_acid(5);
-
// Spore pops.
if (in_explosion_phase && flavour == BEAM_SPORE)
expose_player_to_element(BEAM_SPORE, burn_power);