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.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 8ce60ed143..2295fe8b61 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1459,6 +1459,11 @@ bool bolt::invisible() const
void bolt::initialize_fire()
{
+ // Fix some things which the tracer might have set.
+ range_used = 0;
+ in_explosion_phase = false;
+ use_target_as_pos = false;
+
if (chose_ray)
{
ASSERT(in_bounds(ray.pos()));
@@ -1511,11 +1516,6 @@ void bolt::initialize_fire()
real_flavour = flavour;
- // Fix some things which the tracer might have set.
- range_used = 0;
- in_explosion_phase = false;
- use_target_as_pos = false;
-
message_cache.clear();
// seen might be set by caller to supress this.