mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[10619] Clarify premade groups mode config option.
Also prevent mark group as premade with 0 time wait. It's any way useless becase at next tick group moved to normal team mode.
This commit is contained in:
parent
099f375961
commit
811a86baf5
4 changed files with 9 additions and 5 deletions
|
|
@ -170,9 +170,11 @@ GroupQueueInfo * BattleGroundQueue::AddGroup(Player *leader, Group* grp, BattleG
|
|||
//compute index (if group is premade or joined a rated match) to queues
|
||||
uint32 index = 0;
|
||||
if (!isRated && !isPremade)
|
||||
index += BG_TEAMS_COUNT;
|
||||
index += BG_TEAMS_COUNT; // BG_QUEUE_PREMADE_* -> BG_QUEUE_NORMAL_*
|
||||
|
||||
if (ginfo->Team == HORDE)
|
||||
index++;
|
||||
index++; // BG_QUEUE_*_ALLIANCE -> BG_QUEUE_*_HORDE
|
||||
|
||||
DEBUG_LOG("Adding Group to BattleGroundQueue bgTypeId : %u, bracket_id : %u, index : %u", BgTypeId, bracketId, index);
|
||||
|
||||
uint32 lastOnlineTime = getMSTime();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue