Remove caster from always being part of casters targetlist during spellcasts - thanks to QAston for pointing out that it's useless! :)

--HG--
branch : trunk
This commit is contained in:
click
2010-04-20 00:02:37 +02:00
parent f23a3adb36
commit e1e7083990
-6
View File
@@ -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)))