diff options
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 378bd06aa95..9f5ed2a4e02 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1917,16 +1917,11 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap) break; } - if(cur == TARGET_DEST_TARGET_ENEMY) + if(cur == TARGET_DEST_TARGET_ENEMY || cur == TARGET_DEST_TARGET_ANY) { m_targets.setDestination(target, true); break; } - else if(cur == TARGET_DEST_TARGET_ENEMY_UNKNOWN) // no ground? - { - m_targets.setDestination(target, false); - break; - } float x, y, z, angle, dist; |