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:
@@ -562,12 +562,6 @@ void Spell::SelectSpellTargets()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/*tmpUnitMap.empty() && */m_spellInfo->Targets & TARGET_FLAG_CASTER)
|
|
||||||
{
|
|
||||||
AddUnitTarget(m_caster, i);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!targetA && !targetB)
|
if (!targetA && !targetB)
|
||||||
{
|
{
|
||||||
if (!GetSpellMaxRangeForFriend(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)))
|
if (!GetSpellMaxRangeForFriend(sSpellRangeStore.LookupEntry(m_spellInfo->rangeIndex)))
|
||||||
|
|||||||
Reference in New Issue
Block a user