Memory: Get rid of some memory leaks, converted FormationMgr back to singleton
This commit is contained in:
1 parent
eda06321b9
commit
56fac5e1af
7 files changed
+38
-29
No files matched your search
@@ -1249,7 +1249,7 @@ public:
|
||||
group_member->leaderGUID = leaderGUID;
|
||||
group_member->groupAI = 0;
|
||||
|
||||
CreatureGroupMap[lowguid] = group_member;
|
||||
sFormationMgr->CreatureGroupMap[lowguid] = group_member;
|
||||
creature->SearchFormation();
|
||||
|
||||
PreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_INS_CREATURE_FORMATION);
|
||||
|
||||
Reference in new issue
Block a user