From 5a57ec42266234f2692d18b13a7b237bb2843645 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 30 Jul 2008 07:26:15 +0000 Subject: Trunk->0.4 r6729: Fix evaporate trailing clouds before explosion (sorear). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6730 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref') 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 -- cgit v1.2.3-54-g00ecf