summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 9cd2d4fd2b..0da1d40a68 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4288,7 +4288,8 @@ void zap_wand(int slot)
if (wand.sub_type == WAND_RANDOM_EFFECTS)
beam.effect_known = false;
- beam.source = you.pos();
+ beam.source = you.pos();
+ beam.attitude = ATT_FRIENDLY;
beam.set_target(zap_wand);
bool aimed_at_self = (beam.target == you.pos());