diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 14:39:19 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 14:39:19 +0000 |
commit | e37ab8471fcc8761a0d4a4954918ec4c679ed1bb (patch) | |
tree | 014e77a542007c8a29084bcaa4252a0e9c0fad3e /crawl-ref/source/spells1.cc | |
parent | 6a8469f3af9fff8fd6670be7bab4b7652ef3f957 (diff) | |
download | crawl-ref-e37ab8471fcc8761a0d4a4954918ec4c679ed1bb.tar.gz crawl-ref-e37ab8471fcc8761a0d4a4954918ec4c679ed1bb.zip |
Only apply targeting via monster list to spells and such where
targeting monsters is actually needed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6338 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 0636b4850e..1ea322128b 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -103,7 +103,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) // query for location {dlb}: while (true) { - direction(beam, DIR_TARGET, TARG_ANY, -1, false, false, + direction(beam, DIR_TARGET, TARG_ANY, -1, false, false, false, "Blink to where?"); if (!beam.isValid || coord_def(beam.tx, beam.ty) == you.pos()) @@ -499,7 +499,7 @@ bool conjure_flame(int pow) done_first_message = true; } - direction( spelld, DIR_TARGET, TARG_ENEMY, -1, false, false ); + direction( spelld, DIR_TARGET, TARG_ENEMY, -1, false, false, false ); if (!spelld.isValid) { @@ -686,7 +686,7 @@ 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_ANY, true, - "Heal whom?"); + true, "Heal whom?"); } else { |