aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-27 12:56:48 -0600
committermegamage <none@none>2009-02-27 12:56:48 -0600
commit31e71cef1b5ca91c739009df45221d322ecb65ec (patch)
treedc2bb0895b79a27ecbb744acfb65c10009ae6c38 /src/game/Player.cpp
parent9e392472d4495e2b84b8663e79392e4cb5391f69 (diff)
[7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Author: Triply
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 2f1c4aeeb75..eba15e63e40 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19079,7 +19079,7 @@ BGQueueIdBasedOnLevel Player::GetBattleGroundQueueIdFromLevel(BattleGroundTypeId
{
//returned to hardcoded version of this function, because there is no way to code it dynamic
uint32 level = getLevel();
- if( bgTypeId == BATTLEGROUND_QUEUE_AV )
+ if( bgTypeId == BATTLEGROUND_AV )
level--;
uint32 queue_id = (level / 10) - 1; // for ranges 0 - 19, 20 - 29, 30 - 39, 40 - 49, 50 - 59, 60 - 69, 70 -79, 80