aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2018-02-05 10:14:00 +0100
committerTreeston <treeston.mmoc@gmail.com>2018-02-05 10:14:00 +0100
commit4bd2d28119a884d9697713d58ae773557a4e6ad3 (patch)
tree2759c6a590559b7decfd2c50bb4ace3b9f6d3059 /src
parent65709e1c3081c97442792695cbc0f0826015d625 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
index a739f225a3d..0d4dd46ed99 100644
--- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
+++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
@@ -1825,8 +1825,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())
{