Revert "Scripts/Northrend: Malygos now uses modifiable threat list when teleporting after vortex. Fixes a crash. Closes #21315."
This reverts commit 6bbc95f3a0078e5d121e7092a60fa85b24c725d9, which is made unnecessary by 65709e1c3081c97442792695cbc0f0826015d625.
This commit is contained in:
1 parent
8cde9455b7
commit
fb83408023
1 file changed
+1
-2
@@ -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())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user