diff options
author | megamage <none@none> | 2009-02-16 20:11:24 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-16 20:11:24 -0600 |
commit | 5881a1c25c760f3b57210d0912be23b356e3d40f (patch) | |
tree | c3e8adca5eb60b007f4ca318ae15aab189cc102f | |
parent | 2156fec0d2b0958535495c9edc7d30e2b8e95da5 (diff) |
Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos
--HG--
branch : trunk
-rw-r--r-- | src/game/BattleGroundMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |