]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
Fixed major bug in time wrap code, would have not advanced clock at all after wrap...
[xonotic/darkplaces.git] / sys_linux.c
index 90c959b995a34b6fa7747a44fdfd333924abed11..297289f28778cc348c6357ed177bdfd6be4c3f8a 100644 (file)
@@ -182,10 +182,8 @@ double Sys_DoubleTime (void)
        if (newtime < oldtime)
                Con_Printf("Sys_DoubleTime: time running backwards??\n");
        else
-       {
                curtime += newtime - oldtime;
-               oldtime = newtime;
-       }
+       oldtime = newtime;
 
        return curtime;
 }