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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 5c1f024c4e..0bed353d97 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1760,6 +1760,11 @@ void fire_beam(bolt &pbolt, item_def *item, bool drop_item)
bool did_bounce = false;
cursor_control coff(false);
+ // [ds] Forcing the beam out of explosion phase here - currently
+ // no caller relies on the beam already being in_explosion_phase.
+ // This fixes beams being in explosion after use as a tracer.
+ pbolt.in_explosion_phase = false;
+
beam_message_cache.clear();
#ifdef USE_TILE