mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
Quick tweek to boost samplerate of speedometer
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@860 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
936ecea483
commit
c02a3b3437
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ void SCR_DrawUPS (void)
|
|||
return;
|
||||
|
||||
t = Sys_DoubleTime();
|
||||
if ((t - lastupstime) >= 1.0)
|
||||
if ((t - lastupstime) >= 1.0/20)
|
||||
{
|
||||
lastups = sqrt((cl.simvel[0][0]*cl.simvel[0][0]) + (cl.simvel[0][1]*cl.simvel[0][1]));
|
||||
lastupstime = t;
|
||||
|
|
Loading…
Reference in a new issue