forked from fte/fteqw
1
0
Fork 0

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:
Mark Olsen 2007-12-03 11:38:58 +00:00
parent ea76477982
commit bd10f65dfc
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ unsigned int Sys_Milliseconds (void)
{
struct timeval tp;
struct timezone tzp;
int secbase;
static int secbase;
gettimeofday(&tp, &tzp);