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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user