diff options
author | megamage <none@none> | 2009-06-19 12:41:16 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-19 12:41:16 -0500 |
commit | 48ea016135ca1b8a75ac6b286f4e196a46644d47 (patch) | |
tree | a0692a626cb1fa4b7a58d77ef5c78e774101c74c | |
parent | 64bb4bce04ab9ce99fa90a8715422dd9d9936fe7 (diff) |
*Fix bg queue announce.
--HG--
branch : trunk
-rw-r--r-- | src/game/BattleGroundMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp index 6639db4e040..1ed34fe01d2 100644 --- a/src/game/BattleGroundMgr.cpp +++ b/src/game/BattleGroundMgr.cpp @@ -586,7 +586,7 @@ bool BattleGroundQueue::CheckPremadeMatch(BGQueueIdBasedOnLevel queue_id, uint32 m_SelectionPools[BG_TEAM_ALLIANCE].AddGroup((*ali_group), MaxPlayersPerTeam); m_SelectionPools[BG_TEAM_HORDE].AddGroup((*horde_group), MaxPlayersPerTeam); //add groups/players from normal queue to size of bigger group - uint32 maxPlayers = std::max(m_SelectionPools[BG_TEAM_ALLIANCE].GetPlayerCount(), m_SelectionPools[BG_TEAM_HORDE].GetPlayerCount()); + uint32 maxPlayers = std::min(m_SelectionPools[BG_TEAM_ALLIANCE].GetPlayerCount(), m_SelectionPools[BG_TEAM_HORDE].GetPlayerCount()); GroupsQueueType::const_iterator itr; for(uint32 i = 0; i < BG_TEAMS_COUNT; i++) { |