mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix(Core/BG): prevent potential crash in BG (#1931)
This commit is contained in:
committed by
Stoabrogga
parent
e31ca0b77c
commit
7d13c66e5c
@@ -146,7 +146,7 @@ void BattlegroundMgr::Update(uint32 diff)
|
||||
void BattlegroundMgr::BuildBattlegroundStatusPacket(WorldPacket* data, Battleground* bg, uint8 QueueSlot, uint8 StatusID, uint32 Time1, uint32 Time2, uint8 arenatype, TeamId teamId, bool isRated, BattlegroundTypeId forceBgTypeId)
|
||||
{
|
||||
// pussywizard:
|
||||
ASSERT(QueueSlot < PLAYER_MAX_BATTLEGROUND_QUEUES);
|
||||
//ASSERT(QueueSlot < PLAYER_MAX_BATTLEGROUND_QUEUES);
|
||||
|
||||
if (StatusID == STATUS_NONE || !bg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user