From: havoc Date: Wed, 26 Apr 2006 09:09:19 +0000 (+0000) Subject: changed back to 1 second intervals on fps math X-Git-Tag: xonotic-v0.1.0preview~4035 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2ac3e78403cea158057bb02536c7540d90a4e060;p=xonotic%2Fdarkplaces.git changed back to 1 second intervals on fps math git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6330 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sbar.c b/sbar.c index e3445d85..2dc35e04 100644 --- 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++;