]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
don't use cl_nettimesync code when playing a demo
[xonotic/darkplaces.git] / cl_parse.c
index a4fa59a3f66f005894c0a0d7d5a4235a1d59f95c..4d7c814188acd9ef3313925a9ac06fbe4d7b144d 100644 (file)
@@ -2837,7 +2837,7 @@ static void CL_NetworkTimeReceived(double newtime)
        cl.mtime[0] = newtime;
        if (cls.timedemo || (cl.islocalgame && !sv_fixedframeratesingleplayer.integer) || cl.mtime[1] == cl.mtime[0] || cls.signon < SIGNONS)
                cl.time = cl.mtime[1] = newtime;
-       else if (cls.protocol != PROTOCOL_QUAKEWORLD)
+       else if (cls.protocol != PROTOCOL_QUAKEWORLD && !cls.demoplayback)
        {
                if (developer.integer >= 100 && vid_activewindow)
                {