Fix crash caused by FlameLeviathanPursuedTargetSelector
This commit is contained in:
1 parent
3fd58b7b30
commit
44c55f78e0
1 file changed
+2
-1
@@ -1680,7 +1680,8 @@ class spell_pursue : public SpellScriptLoader
|
|||||||
void FilterTargetsSubsequently(std::list<Unit*>& targets)
|
void FilterTargetsSubsequently(std::list<Unit*>& targets)
|
||||||
{
|
{
|
||||||
targets.clear();
|
targets.clear();
|
||||||
targets.push_back(_target);
|
if(_target)
|
||||||
|
targets.push_back(_target);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleScript(SpellEffIndex /*eff*/)
|
void HandleScript(SpellEffIndex /*eff*/)
|
||||||
|
|||||||
Reference in new issue
Block a user