mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
refactor(Core/Creature): More functions capitalized (#10012)
* GetLeader * IsFormed * build
This commit is contained in:
@@ -227,7 +227,7 @@ struct npc_cameron : public ScriptedAI
|
||||
_childrenGUIDs.push_back(jose->GetGUID());
|
||||
|
||||
// If Formation was disbanded, remake.
|
||||
if (!me->GetFormation()->isFormed())
|
||||
if (!me->GetFormation()->IsFormed())
|
||||
for (auto guid : _childrenGUIDs)
|
||||
if (Creature* child = ObjectAccessor::GetCreature(*me, guid))
|
||||
child->SearchFormation();
|
||||
|
||||
Reference in New Issue
Block a user