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:
Lee Salzman
2008-10-30 16:31:11 +00:00
parent 3ba5c40475
commit 7a73ab9ed7
+2 -3
View File
@@ -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);