Skip to content

Commit

Permalink
SpawnGroup: Allow spawn group aggro from previous commit for MC/Charm…
Browse files Browse the repository at this point in the history
… case
  • Loading branch information
killerwife committed Sep 25, 2023
1 parent 94a49ea commit a19dc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Maps/SpawnGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a19dc7e

Please sign in to comment.