]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
changed Sys_Sleep from (void) to (int milliseconds), now wastes a lot less cpu time...
[xonotic/darkplaces.git] / cl_parse.c
index 9095337523c72768012e9046beb604c2653a9e2f..dfe44a9876b55c6c3745dfcadebdd95fbccb74fa 100644 (file)
@@ -206,7 +206,7 @@ void CL_KeepaliveMessage (void)
                MSG_WriteChar(&msg, svc_nop);
                NetConn_SendUnreliableMessage(cls.netcon, &msg);
                // try not to utterly crush the computer with work, that's just rude
-               Sys_Sleep();
+               Sys_Sleep(1);
        }
 }