diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-17 09:02:59 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-17 09:02:59 +0000 |
commit | 85b49e81682b73aaaf9c2a6706ed108b87d8611f (patch) | |
tree | 18998fe64191df044e213816506cd0ce2c9879c5 /crawl-ref/source | |
parent | db93fadd50c0f6e9f6db9e45fe45f05df784cb02 (diff) | |
download | crawl-ref-85b49e81682b73aaaf9c2a6706ed108b87d8611f.tar.gz crawl-ref-85b49e81682b73aaaf9c2a6706ed108b87d8611f.zip |
Don't restore the old value of a beam's "seen" field after firing a tracer,
since determining if the player will see the beam might be one of the reasons
the tracer is being fired. Fixes bug #2515082.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8500 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/beam.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index f2f15b61b8..c1e31f0c74 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1889,7 +1889,6 @@ static void _undo_tracer(bolt &orig, bolt ©) orig.colour = copy.colour; orig.flavour = copy.flavour; orig.real_flavour = copy.real_flavour; - orig.seen = copy.seen; } // This saves some important things before calling fire(). |