mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7300] Fixed recent crashes in battleground code at player leave.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
125bf4bfd6
commit
26a0023d72
2 changed files with 2 additions and 2 deletions
|
|
@ -260,7 +260,7 @@ void BattleGroundQueue::RemovePlayer(const uint64& guid, bool decreaseInvitedCou
|
||||||
}
|
}
|
||||||
|
|
||||||
// couldn't find the player in bg queue, return
|
// couldn't find the player in bg queue, return
|
||||||
if(itr == m_QueuedPlayers[queue_id].end())
|
if(queue_id == -1)
|
||||||
{
|
{
|
||||||
sLog.outError("Battleground: couldn't find player to remove.");
|
sLog.outError("Battleground: couldn't find player to remove.");
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7299"
|
#define REVISION_NR "7300"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue