* Fixed recent crashes in battleground code at player leave. Thx VladimirMangos

--HG--
branch : trunk
This commit is contained in:
Drahy
2009-02-19 16:09:49 +01:00
parent 1e200fb514
commit 5076e99df1
+1 -1
View File
@@ -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;