Blind fix. but it couldn't have worked before anyway. Sys_Milliseconds should now return something reasonable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1963 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2006-02-12 23:55:40 +00:00
parent 018bd47e7a
commit e360dc0fa6
1 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ unsigned int Sys_Milliseconds (void)
secbase = tp.tv_sec;
return tp.tv_usec/1000;
}
return (tp.tv_sec - secbase) + tp.tv_usec/1000;
return (tp.tv_sec - secbase)*1000 + tp.tv_usec/1000;
}
double Sys_DoubleTime (void)
@ -487,4 +487,4 @@ void Sys_CloseClipboard(char *bf)
}
void Sys_SaveClipboard(char *text)
{
}
}