summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-30 11:44:22 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-30 11:44:22 +0000
commitbeac344a52eafddd8a3ae1d67635773cf9216325 (patch)
treef3a841e163f983c06eb29cb5902a4591ea4f4efd /crawl-ref/source/beam.cc
parent104854da414aa415e887e484ea6fb8799e1f3a2c (diff)
downloadcrawl-ref-beac344a52eafddd8a3ae1d67635773cf9216325.tar.gz
crawl-ref-beac344a52eafddd8a3ae1d67635773cf9216325.zip
Save a few more things in tracers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8029 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index fa347dbf68..394760c4ce 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1866,6 +1866,7 @@ void bolt::fire()
bolt boltcopy = *this;
do_fire();
+ // FIXME: we should have a better idea of what gets changed!
target = boltcopy.target;
source = boltcopy.source;
aimed_at_spot = boltcopy.aimed_at_spot;
@@ -1876,6 +1877,9 @@ void bolt::fire()
reflector = boltcopy.reflector;
auto_hit = boltcopy.auto_hit;
ray = boltcopy.ray;
+ colour = boltcopy.colour;
+ flavour = boltcopy.flavour;
+ real_flavour = boltcopy.real_flavour;
}
else
do_fire();