]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
host: Remove sv_fixedframeratesingleplayer
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 6b3ba40e1ca76de8ae4194aebe9a1a6e930f73f7..aedb1f7fa84a30e166311c92832adfe1411a2f6f 100644 (file)
--- a/host.c
+++ b/host.c
@@ -514,11 +514,6 @@ void Host_Main(void)
                                // stop running server frames if the wall time reaches this value
                                if (sys_ticrate.value <= 0)
                                        advancetime = sv_timer;
-                               else if (cl.islocalgame && !sv_fixedframeratesingleplayer.integer)
-                               {
-                                       // synchronize to the client frametime, but no less than 10ms and no more than 100ms
-                                       advancetime = bound(0.01, cl_timer, 0.1);
-                               }
                                else
                                {
                                        advancetime = sys_ticrate.value;