From a0101f6e239cf21f03896b30a2fac387e4798729 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Fri, 5 Jun 2009 22:43:31 +0000 Subject: 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 --- crawl-ref/source/beam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/beam.cc') 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))) -- cgit v1.2.3-54-g00ecf