]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
reworked input timing a bit more, now cl_movement 1 mode syncs client packets to...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index e4ec53dfeed0463d0769a1adc9eec405214b2a70..e63a7f7cce31c59ed27fa87e8f136a8f4d7ec5d6 100644 (file)
--- a/host.c
+++ b/host.c
@@ -761,8 +761,8 @@ void _Host_Frame (float time)
        Cbuf_Execute();
 
        // if running the server locally, make intentions now
-       if (cls.state == ca_connected && sv.active)
-               CL_SendCmd();
+       //if (cl.islocalgame)
+       //      CL_SendCmd();
 
 //-------------------
 //
@@ -789,11 +789,11 @@ void _Host_Frame (float time)
 
        if (cls.state == ca_connected)
        {
+               CL_ReadFromServer();
                // if running the server remotely, send intentions now after
                // the incoming messages have been read
-               if (!sv.active)
-                       CL_SendCmd();
-               CL_ReadFromServer();
+               //if (!cl.islocalgame)
+               //      CL_SendCmd();
        }
 
        //ui_update();