From 1085b3f43321e58f151c1543a70b3558c26ed8e5 Mon Sep 17 00:00:00 2001 From: Meji Date: Mon, 22 Sep 2025 21:56:04 +0200 Subject: Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring (#31276) --- .../scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/scripts/Shadowlands') diff --git a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp index 8ec595ede47..4e0236a8963 100644 --- a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp +++ b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp @@ -2449,7 +2449,7 @@ struct at_anduin_wrynn_befouled_barrier : AreaTriggerAI caster->CastSpell(unit, SPELL_BEFOULED_BARRIER_DEBUFF, true); } - void OnUnitExit(Unit* unit) override + void OnUnitExit(Unit* unit, AreaTriggerExitReason /*reason*/) override { unit->RemoveAura(SPELL_BEFOULED_BARRIER_DEBUFF); } @@ -3555,7 +3555,7 @@ struct at_anduin_wrynn_hopelessness : AreaTriggerAI } } - void OnUnitExit(Unit* unit) override + void OnUnitExit(Unit* unit, AreaTriggerExitReason /*reason*/) override { if (!unit->IsAlive() && unit->HasAura(at->GetSpellId())) unit->RemoveAurasDueToSpell(at->GetSpellId()); -- cgit v1.2.3