]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't use cl_nettimesync code when playing a demo
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 12 May 2007 10:26:15 +0000 (10:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 12 May 2007 10:26:15 +0000 (10:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7270 d7cf8633-e32d-0410-b094-e92efae38249

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)
                {