[0072] Fix world teleport and use normalized orientation in some more places

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
Yaki Khadafi 2012-08-13 12:46:10 +03:00 committed by Antz
parent d861cd0d3a
commit b4d97ccf77
11 changed files with 663 additions and 462 deletions

View file

@ -202,14 +202,15 @@ void WorldSession::HandleMoveWorldportAckOpcode()
void WorldSession::HandleMoveTeleportAckOpcode(WorldPacket& recv_data)
{
DEBUG_LOG("MSG_MOVE_TELEPORT_ACK");
DEBUG_LOG("CMSG_MOVE_TELEPORT_ACK");
ObjectGuid guid;
recv_data >> guid.ReadAsPacked();
uint32 counter, time;
recv_data >> counter >> time;
recv_data.ReadGuidMask<5, 0, 1, 6, 3, 7, 2, 4>(guid);
recv_data.ReadGuidBytes<4, 2, 7, 6, 5, 1, 3, 0>(guid);
DEBUG_LOG("Guid: %s", guid.GetString().c_str());
DEBUG_LOG("Counter %u, time %u", counter, time / IN_MILLISECONDS);