]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
[xonotic/darkplaces.git] / cl_input.c
index f3432d2230a5022a153e6daf128d261a1c408ea6..21f084ff820047266da4dffe4f9ec72a314f2715 100644 (file)
@@ -253,9 +253,9 @@ void CL_AdjustAngles (void)
        float   up, down;
        
        if (in_speed.state & 1)
-               speed = host_frametime * cl_anglespeedkey.value;
+               speed = cl.frametime * cl_anglespeedkey.value;
        else
-               speed = host_frametime;
+               speed = cl.frametime;
 
        if (!(in_strafe.state & 1))
        {
@@ -430,8 +430,7 @@ void CL_SendMove (usercmd_t *cmd)
                return;
 
 //
-// allways dump the first two message, because it may contain leftover inputs
-// from the last level
+// always dump the first two messages, because they may contain leftover inputs from the last level
 //
        if (++cl.movemessages <= 2)
                return;