summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-26 16:39:30 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-26 16:39:30 +0000
commit87fd0e6ba2c562e75fb2bb35131c6106e2e9becf (patch)
treef66de46cfd86f092d615b2b4c147c3965d6f81db /crawl-ref/source/beam.cc
parent5699e0b53c738196cea517fb8addc9bce952b495 (diff)
downloadcrawl-ref-87fd0e6ba2c562e75fb2bb35131c6106e2e9becf.tar.gz
crawl-ref-87fd0e6ba2c562e75fb2bb35131c6106e2e9becf.zip
Fix crash on returning [2712300]
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9555 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 628de6c4b5..f9fff73040 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -5529,6 +5529,7 @@ void bolt::setup_retrace()
target = pos();
std::swap(source, target);
+ chose_ray = false;
affects_nothing = true;
aimed_at_spot = true;
range_used = 0;