This is a test hack, to see if chopping off some of the integer realtime's

data helps in lengthening the amount of time a server can be up without Weird
Stuff(tm) happening.
This commit is contained in:
Jeff Teunissen 2002-06-03 23:29:34 +00:00
parent 6ead7c9ad4
commit 1ba994fd13

View file

@ -306,7 +306,10 @@ Sys_DoubleTime (void)
static double start_time;
gettimeofday (&tp, &tzp);
now = tp.tv_sec + tp.tv_usec / 1e6;
tp.tv_usec /= 1000; // lose some precision, we don't need it
now = tp.tv_sec + tp.tv_usec / 1000.0;
if (first) {
first = false;