changed back to 1 second intervals on fps math
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Apr 2006 09:09:19 +0000 (09:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Apr 2006 09:09:19 +0000 (09:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6330 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index e3445d8..2dc35e0 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -935,7 +935,7 @@ void Sbar_ShowFPS(void)
                {
                        framerate = framecount / (newtime - lasttime);
                        lasttime = newtime;
-                       nexttime = max(nexttime + 0.1, lasttime - 0.1);
+                       nexttime = max(nexttime + 1, lasttime - 1);
                        framecount = 0;
                }
                framecount++;