]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
fixed two timing flaws where cl.realframetime was used instead of (cl.time - cl.oldti...
[xonotic/darkplaces.git] / cl_screen.c
index d53b012cfcb881159ac586729b02c13be8d97636..68c06cf97a4ea8a5cf61e95146c03e4b4285208c 100644 (file)
@@ -168,7 +168,8 @@ void SCR_CheckDrawCenterString (void)
        if (scr_center_lines > scr_erase_lines)
                scr_erase_lines = scr_center_lines;
 
-       scr_centertime_off -= cl.realframetime;
+       if (cl.time > cl.oldtime)
+               scr_centertime_off -= cl.time - cl.oldtime;
 
        // don't draw if this is a normal stats-screen intermission,
        // only if it is not an intermission, or a finale intermission