From 16bfbe1a3a12256d9476f3ae23e1f34f31f9cf07 Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 11 Jul 2024 15:24:02 +0200 Subject: Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) --- src/server/scripts/EasternKingdoms/zone_elwynn_forest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/EasternKingdoms') diff --git a/src/server/scripts/EasternKingdoms/zone_elwynn_forest.cpp b/src/server/scripts/EasternKingdoms/zone_elwynn_forest.cpp index 9b38dbfa104..caa7fb2dd97 100644 --- a/src/server/scripts/EasternKingdoms/zone_elwynn_forest.cpp +++ b/src/server/scripts/EasternKingdoms/zone_elwynn_forest.cpp @@ -122,7 +122,7 @@ struct npc_cameron : public ScriptedAI for (ObjectGuid guid : _childrenGUIDs) if (Creature* child = ObjectAccessor::GetCreature(*me, guid)) if (CreatureGroup* creatureGroup = child->GetFormation()) - sFormationMgr->RemoveCreatureFromGroup(creatureGroup, child); + FormationMgr::RemoveCreatureFromGroup(creatureGroup, child); // Move each child to an random position for (uint32 i = 0; i < _childrenGUIDs.size(); ++i) -- cgit v1.2.3