From 5881a1c25c760f3b57210d0912be23b356e3d40f Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 16 Feb 2009 20:11:24 -0600 Subject: Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos --HG-- branch : trunk --- src/game/BattleGroundMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp index 05b0e1c478c..2b6cd408f91 100644 --- a/src/game/BattleGroundMgr.cpp +++ b/src/game/BattleGroundMgr.cpp @@ -181,7 +181,7 @@ void BattleGroundQueue::RemovePlayer(const uint64& guid, bool decreaseInvitedCou { Player *plr = objmgr.GetPlayer(guid); - uint32 queue_id = 0; + int32 queue_id = 0; // signed for proper for-loop finish QueuedPlayersMap::iterator itr; // mostly people with the highest levels are in battlegrounds, thats why -- cgit v1.2.3