diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-05 22:43:31 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-05 22:43:31 +0000 |
commit | a0101f6e239cf21f03896b30a2fac387e4798729 (patch) | |
tree | 77d6084eec82325d16acf7ba1f21536ae4a6af8b /crawl-ref/source/beam.cc | |
parent | aff54353f3a6bbb21d059914413581d3ef324bbb (diff) | |
download | crawl-ref-a0101f6e239cf21f03896b30a2fac387e4798729.tar.gz crawl-ref-a0101f6e239cf21f03896b30a2fac387e4798729.zip |
Bug 2800889: beams that can pass through a monster and run into a wall behind
it would warn that there was a wall blocking the line of fire.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9898 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 5133bb0c9e..c81103c3fc 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1793,7 +1793,7 @@ void bolt::hit_wall() ASSERT( grid_is_solid(feat) ); if (is_tracer && YOU_KILL(thrower) && in_bounds(target) - && pos() != target && pos() != source + && pos() != target && pos() != source && foe_info.count == 0 && flavour != BEAM_DIGGING && flavour <= BEAM_LAST_REAL && !affects_nothing && bounces == 0 && reflections == 0 && see_grid(target) && !grid_is_solid(grd(target))) |