diff --git a/src/game/WorldHandlers/MiscHandler.cpp b/src/game/WorldHandlers/MiscHandler.cpp index 32cf9f80..3e213877 100644 --- a/src/game/WorldHandlers/MiscHandler.cpp +++ b/src/game/WorldHandlers/MiscHandler.cpp @@ -890,29 +890,6 @@ void WorldSession::HandleNextCinematicCamera(WorldPacket& /*recv_data*/) DEBUG_LOG("WORLD: Received opcode CMSG_NEXT_CINEMATIC_CAMERA"); } -void WorldSession::HandleMoveTimeSkippedOpcode(WorldPacket& recv_data) -{ - /* WorldSession::Update( WorldTimer::getMSTime() );*/ - DEBUG_LOG("WORLD: Received opcode CMSG_MOVE_TIME_SKIPPED"); - - recv_data >> Unused(); - recv_data >> Unused(); - - /* - ObjectGuid guid; - uint32 time_skipped; - recv_data >> guid; - recv_data >> time_skipped; - DEBUG_LOG("WORLD: Received opcode CMSG_MOVE_TIME_SKIPPED"); - - /// TODO - must be need use in mangos - We substract server Lags to move time ( AntiLags ) - for exmaple - GetPlayer()->ModifyLastMoveTime( -int32(time_skipped) ); - */ -} - void WorldSession::HandleFeatherFallAck(WorldPacket& recv_data) { DEBUG_LOG("WORLD: Received opcode CMSG_MOVE_FEATHER_FALL_ACK"); diff --git a/src/game/WorldHandlers/MovementHandler.cpp b/src/game/WorldHandlers/MovementHandler.cpp index 625874e2..bf857059 100644 --- a/src/game/WorldHandlers/MovementHandler.cpp +++ b/src/game/WorldHandlers/MovementHandler.cpp @@ -496,6 +496,15 @@ void WorldSession::HandleSummonResponseOpcode(WorldPacket& recv_data) _player->SummonIfPossible(true); } +void WorldSession::HandleMoveTimeSkippedOpcode(WorldPacket& recv_data) +{ + ObjectGuid guid; + uint32 time_skipped; + recv_data >> guid; + recv_data >> time_skipped; + DEBUG_LOG("WORLD: Received opcode CMSG_MOVE_TIME_SKIPPED, guid: %u, time_skipped: %u", guid, time_skipped); +} + bool WorldSession::VerifyMovementInfo(MovementInfo const& movementInfo, ObjectGuid const& guid) const { // ignore wrong guid (player attempt cheating own session for not own guid possible...)