summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 10:17:48 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 10:17:48 +0000
commitfdd9765b0b000fe63d19eba03fd13ff5916d6047 (patch)
tree27e356fcf90736f306f6ad4c0d74e91233660db4
parent74e1b51faf9da23db26efb9eec260e2b58ea3f3b (diff)
downloadcrawl-ref-fdd9765b0b000fe63d19eba03fd13ff5916d6047.tar.gz
crawl-ref-fdd9765b0b000fe63d19eba03fd13ff5916d6047.zip
r6551 for 0.4.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6552 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 74fdd24a67..fcef99e3ba 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3091,7 +3091,7 @@ void beam_drop_object( bolt &beam, item_def *item, int x, int y )
static bool _found_player(const bolt &beam, int x, int y)
{
const bool needs_fuzz = (beam.is_tracer && !beam.can_see_invis
- && you.invisible());
+ && you.invisible() && !YOU_KILL(beam.thrower));
const int dist = needs_fuzz? 2 : 0;
return (grid_distance(x, y, you.x_pos, you.y_pos) <= dist);