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:
leak
2011-02-24 23:35:39 +01:00
parent 0c8f1c7b5b
commit 4dc1bf3076

View File

@@ -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
{