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.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 477dabc980..39bd4313ec 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1598,10 +1598,7 @@ void bolt::apply_beam_conducts()
void bolt::choose_ray()
{
if (!chose_ray || reflections > 0)
- {
- ray.fullray_idx = -1; // to quiet valgrind
find_ray( source, target, true, ray, 0, true );
- }
}