mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fixed crash at out of range access to array data in battleground code.
This commit is contained in:
parent
f75f112bfc
commit
b30d1e65a0
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue