From 73cc613dc86d7d72d78f22affe2faba6786bccc5 Mon Sep 17 00:00:00 2001 From: ariel- Date: Mon, 22 Jan 2018 01:54:15 -0300 Subject: Core/Formations: update codestyle and fix crash Closes #21288 --- src/server/scripts/EasternKingdoms/zone_goldshire.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/EasternKingdoms') diff --git a/src/server/scripts/EasternKingdoms/zone_goldshire.cpp b/src/server/scripts/EasternKingdoms/zone_goldshire.cpp index df4dfc1af63..9265e8a1351 100644 --- a/src/server/scripts/EasternKingdoms/zone_goldshire.cpp +++ b/src/server/scripts/EasternKingdoms/zone_goldshire.cpp @@ -252,7 +252,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(); -- cgit v1.2.3