mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[8809] Revert "[8799] Implemented thread safe bg queue updates."
This reverts commit 72f7a7ee56c63672faa7786b1d162a7a3b9ab406. This is temporary revert due to bug in ACE_Thread_Mutex. Original code itself in commit has no problem. Conflicts: src/shared/revision_nr.h
This commit is contained in:
parent
2ba416f78c
commit
ec808c9d3d
5 changed files with 207 additions and 188 deletions
|
|
@ -1084,7 +1084,7 @@ void BattleGround::RemovePlayerAtLeave(uint64 guid, bool Transport, bool SendPac
|
|||
{
|
||||
// a player has left the battleground, so there are free slots -> add to queue
|
||||
AddToBGFreeSlotQueue();
|
||||
sBattleGroundMgr.ScheduleQueueUpdate(0, 0, bgQueueTypeId, bgTypeId, GetQueueId());
|
||||
sBattleGroundMgr.m_BattleGroundQueues[bgQueueTypeId].Update(bgTypeId, GetQueueId());
|
||||
}
|
||||
|
||||
// Let others know
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue