mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
fix(Core:Battlegrounds): fixes some Arathi Basin achievements. (#8009)
* fix(Core:Battlegrounds): fixes some Arathi Basin achievements. Fixes #7775 * minor change.
This commit is contained in:
@@ -242,11 +242,11 @@ void BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket* data, Battleground* bg)
|
||||
}
|
||||
|
||||
if (bg->GetStatus() != STATUS_WAIT_LEAVE)
|
||||
*data << uint8(0); // bg not ended
|
||||
*data << uint8(0); // bg not ended
|
||||
else
|
||||
{
|
||||
*data << uint8(1); // bg ended
|
||||
*data << uint8(bg->GetWinner()); // who win
|
||||
*data << uint8(1); // bg ended
|
||||
*data << uint8(bg->GetWinner() == TEAM_ALLIANCE ? TEAM_HORDE : TEAM_ALLIANCE); // who win
|
||||
}
|
||||
|
||||
size_t wpos = data->wpos();
|
||||
|
||||
Reference in New Issue
Block a user