check input after time update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3338 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+2
-3
@@ -685,12 +685,11 @@ int main(int argc, char **argv)
|
||||
timeerr = scaledtime%100;
|
||||
if(paused) curtime = 0;
|
||||
}
|
||||
|
||||
checkinput();
|
||||
|
||||
lastmillis += curtime;
|
||||
totalmillis = millis;
|
||||
|
||||
checkinput();
|
||||
|
||||
if(lastmillis) updateworld(curtime, lastmillis);
|
||||
|
||||
serverslice(0);
|
||||
|
||||
Reference in New Issue
Block a user