Someone forgot a static keyword in Sys_Milliseconds(), making the comparison base always a random stack value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2801 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ea76477982
commit
bd10f65dfc
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ unsigned int Sys_Milliseconds (void)
|
|||
{
|
||||
struct timeval tp;
|
||||
struct timezone tzp;
|
||||
int secbase;
|
||||
static int secbase;
|
||||
|
||||
gettimeofday(&tp, &tzp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue