mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/PacketIO: Enabled CMSG_MOVE_KNOCK_BACK_ACK, SMSG_MOVE_UPDATE_KNOCK_BACK and SMSG_MOVE_UPDATE
This commit is contained in:
@@ -37,7 +37,7 @@ void WorldSession::HandleDismissControlledVehicle(WorldPacket &recvData)
|
||||
}
|
||||
|
||||
MovementInfo mi;
|
||||
_player->ReadMovementInfo(recvData, &mi);
|
||||
_player->ValidateMovementInfo(&mi);
|
||||
|
||||
_player->m_movementInfo = mi;
|
||||
|
||||
@@ -97,7 +97,7 @@ void WorldSession::HandleChangeSeatsOnControlledVehicle(WorldPacket& recvData)
|
||||
|
||||
Movement::ExtraMovementStatusElement extra(accessoryGuid);
|
||||
MovementInfo movementInfo;
|
||||
GetPlayer()->ReadMovementInfo(recvData, &movementInfo, &extra);
|
||||
GetPlayer()->ValidateMovementInfo(&movementInfo);
|
||||
vehicle_base->m_movementInfo = movementInfo;
|
||||
|
||||
ObjectGuid accessory = extra.Data.guid;
|
||||
|
||||
Reference in New Issue
Block a user