Fixed crash at out of range access to array data in battleground code. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user