no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@374 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -197,6 +197,7 @@ int main(int argc, char **argv)
|
||||
|
||||
log("mainloop");
|
||||
int ignore = 5;
|
||||
int lastflush = 0;
|
||||
for(;;)
|
||||
{
|
||||
int millis = SDL_GetTicks()*gamespeed/100;
|
||||
@@ -248,6 +249,7 @@ int main(int argc, char **argv)
|
||||
break;
|
||||
};
|
||||
};
|
||||
if(millis>lastflush+60000) { fflush(stdout); lastflush = millis; }
|
||||
};
|
||||
quit();
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user