Revert "Scripts/Northrend: Malygos now uses modifiable threat list when teleporting after vortex. Fixes a crash. Closes #21315."

This reverts commit 6bbc95f3a0, which is made unnecessary by 65709e1c30.
This commit is contained in:
Treeston
2018-02-05 10:14:00 +01:00
committed by Ovahlord
parent 8cde9455b7
commit fb83408023

View File

@@ -1827,8 +1827,7 @@ class spell_malygos_vortex_visual : public SpellScriptLoader
{
if (Creature* caster = GetCaster()->ToCreature())
{
// we need modifiable threat list here - SPELL_VORTEX_6 is a TELEPORT effect, which may stop combat
for (ThreatReference const* ref : caster->GetThreatManager().GetModifiableThreatList())
for (ThreatReference const* ref : caster->GetThreatManager().GetUnsortedThreatList())
{
if (Player* targetPlayer = ref->GetVictim()->ToPlayer())
{