diff options
Diffstat (limited to 'source/cl_input.c')
-rw-r--r-- | source/cl_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cl_input.c b/source/cl_input.c index 5802571..36c51d2 100644 --- a/source/cl_input.c +++ b/source/cl_input.c @@ -598,6 +598,9 @@ void CL_UpdateCmd( int msec ) { return; } + // add to milliseconds of time to apply the move + cl.cmd.msec += msec; + // adjust viewangles CL_AdjustAngles( msec ); @@ -607,9 +610,6 @@ void CL_UpdateCmd( int msec ) { // allow mice or other external controllers to add to the move CL_MouseMove(); - // add to milliseconds of time to apply the move - cl.cmd.msec += msec; - CL_ClampPitch(); cl.cmd.angles[0] = ANGLE2SHORT( cl.viewangles[0] ); @@ -954,7 +954,7 @@ static void CL_SendBatchedCmd( void ) { for( j = oldest->cmdNumber + 1; j <= history->cmdNumber; j++ ) { cmd = &cl.cmds[j & CMD_MASK]; totalMsec += cmd->msec; - bits = MSG_WriteDeltaUsercmd_Enhanced( oldcmd, cmd ); + bits = MSG_WriteDeltaUsercmd_Enhanced( oldcmd, cmd, cls.protocolVersion ); if( cl_showpackets->integer == 3 ) { MSG_ShowDeltaUsercmdBits_Enhanced( bits ); } |