]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
cl_nolerp: use normal time synchronisation
[xonotic/darkplaces.git] / cl_parse.c
index 2ca989333a161801a1d283fad4cefce6d1384923..d0f39723ba39fa43dea4ffd4ea78cb8dbe5e5708 100644 (file)
@@ -3281,9 +3281,10 @@ extern cvar_t host_timescale;
 extern cvar_t cl_lerpexcess;
 static void CL_NetworkTimeReceived(double newtime)
 {
+       cl.opt_inputs_since_update = 0;
        cl.mtime[1] = cl.mtime[0];
        cl.mtime[0] = newtime;
-       if (cl_nolerp.integer || cls.timedemo || cl.mtime[1] == cl.mtime[0] || cls.signon < SIGNONS)
+       if (cls.timedemo || cl.mtime[1] == cl.mtime[0] || cls.signon < SIGNONS)
                cl.time = cl.mtime[1] = newtime;
        else if (cls.demoplayback)
        {