mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7352] Fixed conditions in FillPlayersToBG to correctly kick group only when other team's selection pool is empty. Problem reported by balrok. Thx
Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
parent
3560d9de54
commit
0be003ac90
3 changed files with 6 additions and 2 deletions
|
|
@ -18519,7 +18519,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue