Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-16 20:11:24 -06:00
parent 2156fec0d2
commit 5881a1c25c
+1 -1
View File
@@ -181,7 +181,7 @@ void BattleGroundQueue::RemovePlayer(const uint64& guid, bool decreaseInvitedCou
{ {
Player *plr = objmgr.GetPlayer(guid); Player *plr = objmgr.GetPlayer(guid);
uint32 queue_id = 0; int32 queue_id = 0; // signed for proper for-loop finish
QueuedPlayersMap::iterator itr; QueuedPlayersMap::iterator itr;
// mostly people with the highest levels are in battlegrounds, thats why // mostly people with the highest levels are in battlegrounds, thats why