summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 64b64871a8..01ef4797fe 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -687,7 +687,10 @@ static int _healing_spell( int healed, int target_x = -1, int target_y = -1)
dist spd;
if (target_x == -1 || target_y == -1)
- spd.isValid = spell_direction(spd, beam);
+ {
+ spd.isValid = spell_direction(spd, beam, DIR_TARGET,
+ TARG_FRIEND, true, "Heal whom?");
+ }
else
{
spd.tx = target_x;