summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-30 07:22:41 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-30 07:22:41 +0000
commit44e703fb80e56940f4efc93d01db2988fd4914c3 (patch)
tree4ba00a87fe91df494f3563dd315194ccc6357830 /crawl-ref/source/beam.cc
parentdfad9aff3cf95f92c62237f590408dfc7a5b5c02 (diff)
downloadcrawl-ref-44e703fb80e56940f4efc93d01db2988fd4914c3.tar.gz
crawl-ref-44e703fb80e56940f4efc93d01db2988fd4914c3.zip
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
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 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