aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Spell.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index f432d73767b..92c7e7bd02b 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -562,12 +562,6 @@ void Spell::SelectSpellTargets()
continue;
}
- if (/*tmpUnitMap.empty() && */m_spellInfo->Targets & TARGET_FLAG_CASTER)
- {
- AddUnitTarget(m_caster, i);
- continue;
- }
-
if (!targetA && !targetB)
{
if (!GetSpellMaxRangeForFriend(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)))