Core/Movement: partial revert 817eb007db and proper compile fixes, this was generating crashes

Closes #80
This commit is contained in:
ariel-
2016-07-23 23:42:46 -03:00
parent f5e2b7db3a
commit c413e65d25
2 changed files with 7 additions and 19 deletions

View File

@@ -2908,7 +2908,7 @@ MovementStatusElements const MovementSetCanFlyAck[] =
MovementStatusElements MoveForceSwimBackSpeedChangeAck[] =
{
MSESpeedSwimBack,
MSEExtraElement,
MSEPositionX,
MSEPositionZ,
MSEPositionY,
@@ -2971,7 +2971,7 @@ MovementStatusElements MoveForceSwimBackSpeedChangeAck[] =
MSETransportOrientation,
MSETransportPositionZ,
MSETransportGuidByte7,
MSETransportTime3,
MSETransportVehicleId,
MSETransportTime,
MSETransportGuidByte3,
MSETransportGuidByte2,
@@ -2995,7 +2995,7 @@ MovementStatusElements MoveForceFlightBackSpeedChangeAck[] =
MSEPositionZ,
MSECounter,
MSEPositionX,
MSESpeedFlightBack,
MSEExtraElement,
MSEHasSplineElevation,
MSEHasPitch,
MSEHasFallData,
@@ -3051,7 +3051,7 @@ MovementStatusElements MoveForceFlightBackSpeedChangeAck[] =
MSETransportPositionZ,
MSETransportGuidByte4,
MSETransportGuidByte7,
MSETransportTime3,
MSETransportVehicleId,
MSETransportGuidByte5,
MSETransportTime2,
MSETransportPositionY,
@@ -3605,8 +3605,8 @@ MovementStatusElements MoveUpdateSwimBackSpeed[] =
MSEGuidByte4,
MSEPositionY,
MSETransportGuidByte7,
MSETransportTime3,
MSETransportGuidByte7,
MSETransportVehicleId,
MSETransportGuidByte6,
MSETransportGuidByte4,
MSETransportGuidByte2,
@@ -3631,7 +3631,7 @@ MovementStatusElements MoveUpdateSwimBackSpeed[] =
MSEPitch,
MSEGuidByte2,
MSEGuidByte7,
MSESpeedSwimBack,
MSEExtraElement,
MSESplineElevation,
MSEPositionZ,
MSEGuidByte3,

View File

@@ -86,7 +86,6 @@ enum MovementStatusElements
MSETransportSeat,
MSETransportTime,
MSETransportTime2,
MSETransportTime3,
MSETransportVehicleId,
MSEPitch,
MSEFallTime,
@@ -98,17 +97,6 @@ enum MovementStatusElements
MSECounter,
// Speed
MSESpeedWalk,
MSESpeedRun,
MSESpeedRunBack,
MSESpeedSwim,
MSESpeedSwimBack,
MSESpeedTurnRate,
MSESpeedFlight,
MSESpeedFlightBack,
MSESpeedPitchRate,
// Special
MSEZeroBit, // writes bit value 1 or skips read bit
MSEOneBit, // writes bit value 0 or skips read bit