From a19dc7e8cf5867e48fa870c96610f5ac9af71404 Mon Sep 17 00:00:00 2001 From: killerwife Date: Mon, 25 Sep 2023 23:07:13 +0200 Subject: [PATCH] SpawnGroup: Allow spawn group aggro from previous commit for MC/Charm case --- src/game/Maps/SpawnGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Maps/SpawnGroup.cpp b/src/game/Maps/SpawnGroup.cpp index 685cc4bd80..20ec7ce7c6 100644 --- a/src/game/Maps/SpawnGroup.cpp +++ b/src/game/Maps/SpawnGroup.cpp @@ -420,7 +420,7 @@ void CreatureGroup::TriggerLinkingEvent(uint32 event, Unit* target) return; // disallow aggro of a group member - if (m_objects.find(target->GetDbGuid()) != m_objects.end()) + if (!target->HasCharmer() && m_objects.find(target->GetDbGuid()) != m_objects.end()) return; for (auto& data : m_objects)