fixed firstrun sound

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2204 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-07-23 22:30:18 +00:00
parent 5523ec69d8
commit 85361fb5a3
4 changed files with 14 additions and 17 deletions
+6
View File
@@ -659,6 +659,12 @@ int main(int argc, char **argv)
if(frames>4) SDL_GL_SwapBuffers();
}
if(firstrun && frames>4) // run once
{
execfile("config/firstrun.cfg");
firstrun = false;
}
#ifdef _DEBUG
if(millis>lastflush+60000) {
fflush(stdout); lastflush = millis;