Skip to content

Commit

Permalink
BG: Minor optimizations from wotlk
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 16, 2024
1 parent eeb446e commit 0a8b156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/BattleGround/BattleGroundHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ void WorldSession::HandleBattlefieldStatusOpcode(WorldPacket& /*recv_data*/)
}
else
{
uint32 avgTime = queueItem.GetAverageQueueWaitTime(&queueInfo, sBattleGroundMgr.GetBattleGroundBracketIdFromLevel(queueInfo.bgTypeId, playerLevel));
uint32 avgTime = queueItem.GetAverageQueueWaitTime(&queueInfo, queueInfo.bgBracketId);
// send status in BattleGround Queue
sBattleGroundMgr.BuildBattleGroundStatusPacket(data, true, queueInfo.bgTypeId, queueInfo.clientInstanceId, queueInfo.mapId, queueSlot, STATUS_WAIT_QUEUE, avgTime, WorldTimer::getMSTimeDiff(queueInfo.joinTime, WorldTimer::getMSTime()));
}
Expand Down

0 comments on commit 0a8b156

Please sign in to comment.