summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 22:52:55 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 22:52:55 +0000
commit92a5a273fc45d98de18aa29198ffacc5bed7b539 (patch)
treef2938738a29f99cf02b3081340ebb837674b8ad6 /crawl-ref/source/beam.cc
parent0b0a48757e28ccbd4e10106ba2199d6712dc5b7d (diff)
downloadcrawl-ref-92a5a273fc45d98de18aa29198ffacc5bed7b539.tar.gz
crawl-ref-92a5a273fc45d98de18aa29198ffacc5bed7b539.zip
Player tracers had thrower set incorrectly, so no prompt was given when
firing through friendlies. [greensnark] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8562 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 70a8e69d26..02f3b9f75f 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -238,6 +238,7 @@ bool player_tracer( zap_type ztype, int power, bolt &pbolt, int range)
pbolt.can_see_invis = player_see_invis();
pbolt.smart_monster = true;
pbolt.attitude = ATT_FRIENDLY;
+ pbolt.thrower = KILL_YOU_MISSILE;
// Init tracer variables.
pbolt.friend_info.reset();