Core/Battleground: Make Battleground queues and Free slot queue structures private.
This commit is contained in:
1 parent
02d68e4610
commit
58c01c140d
7 files changed
+209
-174
No files matched your search
@@ -483,7 +483,8 @@ void WorldSession::LogoutPlayer(bool Save)
|
||||
if (BattlegroundQueueTypeId bgQueueTypeId = _player->GetBattlegroundQueueTypeId(i))
|
||||
{
|
||||
_player->RemoveBattlegroundQueueId(bgQueueTypeId);
|
||||
sBattlegroundMgr->m_BattlegroundQueues[ bgQueueTypeId ].RemovePlayer(_player->GetGUID(), true);
|
||||
BattlegroundQueue& queue = sBattlegroundMgr->GetBattlegroundQueue(bgQueueTypeId);
|
||||
queue.RemovePlayer(_player->GetGUID(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user