mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
This commit is contained in:
@@ -236,7 +236,7 @@ void WorldSession::HandleSuspendTokenResponse(WorldPackets::Movement::SuspendTok
|
||||
|
||||
WorldPackets::Movement::NewWorld packet;
|
||||
packet.MapID = loc.GetMapId();
|
||||
packet.Pos.Relocate(loc);
|
||||
packet.Pos = loc;
|
||||
packet.Reason = !_player->IsBeingTeleportedSeamlessly() ? NEW_WORLD_NORMAL : NEW_WORLD_SEAMLESS;
|
||||
SendPacket(packet.Write());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user