diff options
Diffstat (limited to 'src/server/scripts/Battlefield/BattlefieldWG.cpp')
-rw-r--r-- | src/server/scripts/Battlefield/BattlefieldWG.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/server/scripts/Battlefield/BattlefieldWG.cpp b/src/server/scripts/Battlefield/BattlefieldWG.cpp index 0c6ec4624bb..f34deb975e7 100644 --- a/src/server/scripts/Battlefield/BattlefieldWG.cpp +++ b/src/server/scripts/Battlefield/BattlefieldWG.cpp @@ -1179,17 +1179,6 @@ void BattlefieldWG::FillInitialWorldStates(WorldPackets::WorldState::InitWorldSt workshop->FillInitialWorldStates(packet); } -void BattlefieldWG::SendInitWorldStatesTo(Player* player) -{ - WorldPackets::WorldState::InitWorldStates packet; - packet.MapID = m_MapId; - packet.AreaID = m_ZoneId; - packet.SubareaID = player->GetAreaId(); - FillInitialWorldStates(packet); - - player->SendDirectMessage(packet.Write()); -} - void BattlefieldWG::SendInitWorldStatesToAll() { for (uint8 team = 0; team < PVP_TEAMS_COUNT; ++team) |