1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-01-29 02:17:25 +00:00
parent 936ecea483
commit c02a3b3437

View file

@ -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;