]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
changed drivername to NULL, as SDL knows best
[xonotic/darkplaces.git] / cl_input.c
index e528439750445557a09ec2aa5fda98349b9046a2..610bd30dda913a68a6b6eab34e383f3629a68843 100644 (file)
@@ -56,6 +56,8 @@ kbutton_t     in_button3, in_button4, in_button5, in_button6, in_button7, in_button8
 
 int                    in_impulse;
 
+extern cvar_t sys_ticrate;
+
 
 void KeyDown (kbutton_t *b)
 {
@@ -383,7 +385,7 @@ void CL_SendMove(usercmd_t *cmd)
 
        MSG_WriteFloat (&buf, cl.mtime[0]);     // so server can get ping times
 
-       if (cl.protocol == PROTOCOL_QUAKE)
+       if (cl.protocol == PROTOCOL_QUAKE || cl.protocol == PROTOCOL_NEHAHRAMOVIE)
        {
                for (i = 0;i < 3;i++)
                        MSG_WriteAngle8i (&buf, cl.viewangles[i]);
@@ -398,6 +400,8 @@ void CL_SendMove(usercmd_t *cmd)
                for (i = 0;i < 3;i++)
                        MSG_WriteAngle16i (&buf, cl.viewangles[i]);
        }
+       else
+               Host_Error("CL_SendMove: unknown cl.protocol %i\n", cl.protocol);
 
        MSG_WriteCoord16i (&buf, forwardmove);
        MSG_WriteCoord16i (&buf, sidemove);