From 7a73ab9ed7fe627c1ce6710b8cfc19b8e353f74a Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 30 Oct 2008 16:31:11 +0000 Subject: [PATCH] check input after time update git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3338 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index 8f664527..6293a0a5 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -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);