diff options
author | Kudlaty <none@none> | 2009-08-21 22:32:48 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-08-21 22:32:48 +0200 |
commit | 02071a74c07afcbc8094779823fc8a3ae3b8dc9c (patch) | |
tree | f173edec6169a4098a1e911678776af4faf5b1db /src/game/BattleGroundMgr.cpp | |
parent | 395b1f5130eed4bbcc32f1ad3f4f690e00267625 (diff) |
Fix typo
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundMgr.cpp')
-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 e3802437fac..eb832fe6d41 100644 --- a/src/game/BattleGroundMgr.cpp +++ b/src/game/BattleGroundMgr.cpp @@ -412,7 +412,7 @@ void BattleGroundQueue::AnnounceWorld(GroupQueueInfo *ginfo, const uint64& playe uint32 qHorde = 0; uint32 qAlliance = 0; uint32 q_min_level = (queue_id + 1) * 10; - uint32 q_max_level = std::max(q_min_level + 9, sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL)); + uint32 q_max_level = std::min(q_min_level + 9, sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL)); GroupsQueueType::const_iterator itr; for(itr = m_QueuedGroups[queue_id][BG_QUEUE_NORMAL_ALLIANCE].begin(); itr != m_QueuedGroups[queue_id][BG_QUEUE_NORMAL_ALLIANCE].end(); ++itr) if (!(*itr)->IsInvitedToBGInstanceGUID) |