From 44e703fb80e56940f4efc93d01db2988fd4914c3 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 30 Jul 2008 07:22:41 +0000 Subject: Fix evaporate trailing clouds before explosion (sorear). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6729 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 24d3eb172f..b6ce1d926a 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1757,6 +1757,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 -- cgit v1.2.3-54-g00ecf