mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Core/BG): store correct faction id (#10576)
This commit is contained in:
@@ -241,7 +241,7 @@ void BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket* data, Battleground* bg)
|
||||
else
|
||||
{
|
||||
*data << uint8(1); // bg ended
|
||||
*data << uint8(bg->GetWinner() == TEAM_ALLIANCE ? TEAM_HORDE : TEAM_ALLIANCE); // who win
|
||||
*data << uint8(GetPvPTeamId(bg->GetWinner())); // who win
|
||||
}
|
||||
|
||||
size_t wpos = data->wpos();
|
||||
|
||||
Reference in New Issue
Block a user