]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix nettimesync bug after the recent cleanup
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Apr 2007 17:02:10 +0000 (17:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Apr 2007 17:02:10 +0000 (17:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7214 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index fcd88f7d80a086df4e6f4a88a8e007860aef4078..4f943c5795c808a96506ed098382a09f307f2557 100644 (file)
@@ -2819,7 +2819,7 @@ static void CL_NetworkTimeReceived(double newtime)
        double timehigh;
        cl.mtime[1] = max(cl.mtime[0], newtime - 0.1);
        cl.mtime[0] = newtime;
-       if (cls.timedemo || (cl.islocalgame && !sv_fixedframeratesingleplayer.integer) || cl.mtime[0] == newtime || cls.signon < SIGNONS)
+       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)
        {