]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.c
fix another prediction issue (physics code was being called per input frame and per...
[xonotic/darkplaces.git] / sbar.c
diff --git a/sbar.c b/sbar.c
index 95fb089d8c98271c1cfa418034d2d009058f4578..c8ebbd7bd4e2f2f511cf2bd2589ccb04554507ec 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -1002,7 +1002,7 @@ void Sbar_ShowFPS(void)
                static double framerate = 0;
                static int framecount = 0;
                double newtime;
-               newtime = Sys_DoubleTime();
+               newtime = realtime;
                if (newtime >= nexttime)
                {
                        framerate = framecount / (newtime - lasttime);