Core/Spells: Revert part of 65d269f6de. Solves some recent instant spell casting issues.
This commit is contained in:
@@ -2814,12 +2814,12 @@ uint32 Spell::SelectEffectTargets(uint32 i, SpellImplicitTargetInfo const& cur)
|
||||
unitList.remove(m_targets.GetUnitTarget());
|
||||
Trinity::RandomResizeList(unitList, maxTargets);
|
||||
}
|
||||
}
|
||||
|
||||
CallScriptAfterUnitTargetSelectHandlers(unitList, SpellEffIndex(i));
|
||||
|
||||
for (std::list<Unit*>::iterator itr = unitList.begin(); itr != unitList.end(); ++itr)
|
||||
AddUnitTarget(*itr, effectMask, false);
|
||||
}
|
||||
|
||||
if (!gobjectList.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user