Core/Groups: Prevent group id pool corruption (BG groups take their Ids out of the same pool thus the need to register properly)
This commit is contained in:
1 parent
0c8f1c7b5b
commit
4dc1bf3076
1 file changed
+1
@@ -1203,6 +1203,7 @@ void Battleground::AddOrSetPlayerToCorrectBgGroup(Player *player, uint32 team)
|
||||
group = new Group;
|
||||
SetBgRaid(team, group);
|
||||
group->Create(player);
|
||||
sObjectMgr->AddGroup(group);
|
||||
}
|
||||
else // raid already exist
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user