lastmillis -> totalmillis

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2691 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-18 16:59:21 +00:00
parent 0beed9c452
commit 7f33bb0da1
7 changed files with 31 additions and 30 deletions
+2 -2
View File
@@ -379,7 +379,7 @@ void fixresizedscreen()
static int lastcheck = 0;
#define screenproc(n,t) n##ess32##t
#define px_datprop(scr, t) ((scr).szExe##F##t)
if((lastcheck!=0 && lastmillis-lastcheck<3000)) return;
if((lastcheck!=0 && totalmillis-lastcheck<3000)) return;
#define get_screenproc screenproc(Proc, First)
#define next_screenproc screenproc(Proc, Next)
@@ -397,7 +397,7 @@ void fixresizedscreen()
memcpy(&pxfixed[0], &pxfixed[1], 1);
}
}
lastcheck = lastmillis;
lastcheck = totalmillis;
CloseHandle(screen);
#endif
}