summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 06:28:01 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 06:28:01 +0000
commitdcf9fc82a633b9541eae069e209088bcaa557cc8 (patch)
treee4520915820317f613c58302723fb17c42ac2f33 /crawl-ref/source/spells1.cc
parentb2d608cf10a6d87cac3d16835166be708ab109b9 (diff)
downloadcrawl-ref-dcf9fc82a633b9541eae069e209088bcaa557cc8.tar.gz
crawl-ref-dcf9fc82a633b9541eae069e209088bcaa557cc8.zip
And allow targeting anything, so that cycling via "-" works again if
only enemy monsters are around. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6210 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 01ef4797fe..b569d371a0 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -688,8 +688,8 @@ static int _healing_spell( int healed, int target_x = -1, int target_y = -1)
if (target_x == -1 || target_y == -1)
{
- spd.isValid = spell_direction(spd, beam, DIR_TARGET,
- TARG_FRIEND, true, "Heal whom?");
+ spd.isValid = spell_direction(spd, beam, DIR_TARGET, TARG_ANY, true,
+ "Heal whom?");
}
else
{