* Fixed recent crashes in battleground code at player leave. Thx VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -194,7 +194,7 @@ void BattleGroundQueue::RemovePlayer(const uint64& guid, bool decreaseInvitedCou
|
||||
}
|
||||
|
||||
// couldn't find the player in bg queue, return
|
||||
if(itr == m_QueuedPlayers[queue_id].end())
|
||||
if(queue_id == -1)
|
||||
{
|
||||
sLog.outError("Battleground: couldn't find player to remove.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user