diff options
author | leak <leakzx@googlemail.com> | 2011-02-24 23:35:39 +0100 |
---|---|---|
committer | leak <leakzx@googlemail.com> | 2011-02-24 23:35:39 +0100 |
commit | 4dc1bf307687068b8aa0f3d96c34de7704d3cecd (patch) | |
tree | 497e4b0d2a0117ee31df57c7afc4452738a8ab05 | |
parent | 0c8f1c7b5bb7ec936ab243c49b00d8ede60785a0 (diff) |
Core/Groups: Prevent group id pool corruption (BG groups take their Ids out of the same pool thus the need to register properly)
-rwxr-xr-x | src/server/game/Battlegrounds/Battleground.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index e0844cdcccd..5791b504d6e 100755 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -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 { |