mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-20 18:42:34 +00:00
Use Sys_DoubleTime instead of Sys_FloatTime.
This commit is contained in:
parent
2d1bf07b6c
commit
39b2b2c3b9
1 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ qboolean VID_ExtraVidLookForState (unsigned state, unsigned mask)
|
|||
int i;
|
||||
double starttime, time;
|
||||
|
||||
starttime = Sys_FloatTime ();
|
||||
starttime = Sys_DoubleTime ();
|
||||
|
||||
do
|
||||
{
|
||||
|
@ -260,7 +260,7 @@ qboolean VID_ExtraVidLookForState (unsigned state, unsigned mask)
|
|||
return true;
|
||||
}
|
||||
|
||||
time = Sys_FloatTime ();
|
||||
time = Sys_DoubleTime ();
|
||||
} while ((time - starttime) < 0.1);
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue