mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
we /do/ want full precision from Sys_DoubleTime :P
This commit is contained in:
parent
9ed8150b85
commit
7fe0962bac
1 changed files with 1 additions and 3 deletions
|
@ -314,9 +314,7 @@ Sys_DoubleTime (void)
|
|||
|
||||
gettimeofday (&tp, &tzp);
|
||||
|
||||
tp.tv_usec /= 1000; // lose some precision, we don't need it
|
||||
|
||||
now = tp.tv_sec + tp.tv_usec / 1000.0;
|
||||
now = tp.tv_sec + tp.tv_usec / 1e6;
|
||||
|
||||
if (first) {
|
||||
first = false;
|
||||
|
|
Loading…
Reference in a new issue