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:
Shauren
2017-05-16 22:16:21 +02:00
parent b421a5c0cb
commit a12a34b1dc
54 changed files with 288 additions and 348 deletions

View File

@@ -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());