git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@997 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-05-14 18:43:59 +00:00
parent d3f97bc349
commit fd2ef397a2
13 changed files with 213 additions and 57 deletions
+7 -1
View File
@@ -306,7 +306,13 @@ int main(int argc, char **argv)
else if(curtime<1) curtime = 1;
cleardlights();
if(lastmillis) updateworld(curtime, lastmillis);
if(demoplayback && demopaused)
{
curtime = 0;
millis = lastmillis;
}
else if(lastmillis) updateworld(curtime, lastmillis);
lastmillis += curtime;
curmillis = millis;