mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Compile fix 6
This commit is contained in:
@@ -227,7 +227,7 @@ void BattlefieldTB::RemoveAurasFromPlayer(Player* player)
|
||||
}
|
||||
|
||||
// 62 fields, [7]-[68]
|
||||
void BattlefieldTB::FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates& packet)
|
||||
void BattlefieldWG::FillInitialWorldStates(WorldPacket& data)
|
||||
{
|
||||
packet.Worldstates.emplace_back(uint32(TB_WS_ALLIANCE_ATTACKING_SHOW), int32(IsWarTime() && GetAttackerTeam() == TEAM_ALLIANCE ? 1 : 0));
|
||||
packet.Worldstates.emplace_back(uint32(TB_WS_HORDE_ATTACKING_SHOW), int32(IsWarTime() && GetAttackerTeam() == TEAM_HORDE ? 1 : 0));
|
||||
|
||||
Reference in New Issue
Block a user