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
committerariel- <ariel-@users.noreply.github.com>2018-01-22 02:43:34 -0300
commit73cc613dc86d7d72d78f22affe2faba6786bccc5 (patch)
tree164393f96fe4a7498e80b9b5a99c0103003e668c /src/server/scripts/EasternKingdoms
parent4402f71eb7d17e5cf6b768a452baa00555eff7e4 (diff)
Core/Formations: update codestyle and fix crash
Closes #21288
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 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();