]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
implemented sv_fixedframeratesingleplayer cvar
[xonotic/darkplaces.git] / cl_main.c
index ca17674c8b3f70f2b799cb4c5f50fd227338a23a..4b0ab04f3ca2ca22ef7ede20c65821bfaa4dfd3a 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -426,7 +426,7 @@ static float CL_LerpPoint(void)
 
        // LordHavoc: lerp in listen games as the server is being capped below the client (usually)
        f = cl.mtime[0] - cl.mtime[1];
-       if (!f || cl_nolerp.integer || cls.timedemo || cl.islocalgame)
+       if (!f || cl_nolerp.integer || cls.timedemo || (cl.islocalgame && !sv_fixedframeratesingleplayer.integer))
        {
                cl.time = cl.mtime[0];
                return 1;