summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 81ebf66e22..d24e2b1523 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2538,6 +2538,7 @@ void MiscastEffect::do_miscast()
// the target around.
beam.source = target->pos();
beam.target = target->pos();
+ beam.use_target_as_pos = true;
all_msg = you_msg = mon_msg = mon_msg_seen = mon_msg_unseen = "";
msg_ch = MSGCH_PLAIN;
@@ -2709,7 +2710,7 @@ bool MiscastEffect::_explosion()
return (false);
do_msg(true);
- explosion(beam, false, true);
+ beam.explode();
return (true);
}