aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Maelstrom
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-06-23 23:31:51 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-12 02:09:15 +0100
commit38d7c1530a65a7ff1bd10775c4a35269b2416538 (patch)
treecb35c9ea9e6e26f0d09ce82ddc3bb41a13fc038f /src/server/scripts/Maelstrom
parenta9946bd580272d85b2f88464a33e4766ba93c10a (diff)
Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490.
(cherry picked from commit 1158f267df22c0782fb5f20f7de31f5643ac0b58)
Diffstat (limited to 'src/server/scripts/Maelstrom')
-rw-r--r--src/server/scripts/Maelstrom/Stonecore/stonecore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
index ed93062f560..962ce4bda86 100644
--- a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
+++ b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
@@ -173,7 +173,7 @@ class npc_sc_millhouse_manastorm : public CreatureScript
me->RemoveAllAuras();
me->CombatStop(true);
- me->GetThreatManager().ClearAllThreat();
+ me->GetThreatManager().NotifyDisengaged();
switch (pointId)
{