From b2d608cf10a6d87cac3d16835166be708ab109b9 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 29 Jun 2008 06:21:22 +0000 Subject: In _healing_spell(), use the same targeting options for spell_direction() that were used for direction() before. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6209 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells1.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spells1.cc') 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; -- cgit v1.2.3-54-g00ecf