aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-22 01:54:15 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-16 19:26:32 +0200
commit861cf261c5dfc29d6980908ec36ebe7aad68a462 (patch)
tree07114f8f4c1d972834a49319459e948324a633f9 /src/server/scripts/EasternKingdoms
parent0c56ec914f5f6b55251a7a8889b61ef93d56c924 (diff)
Core/Formations: update codestyle and fix crash
Closes #21288 (cherry picked from commit 73cc613dc86d7d72d78f22affe2faba6786bccc5)
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/zone_goldshire.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/zone_goldshire.cpp b/src/server/scripts/EasternKingdoms/zone_goldshire.cpp
index 3ba89e98f1f..fe6450cf4fe 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 (ObjectGuid guid : _childrenGUIDs)
if (Creature* child = ObjectAccessor::GetCreature(*me, guid))
child->SearchFormation();