audio variable

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2125 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-30 19:25:33 +00:00
parent 694e87f636
commit 5ba614a911
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -115,6 +115,8 @@ void writeinitcfg()
fprintf(f, "vsync %d\n", vsync);
extern int fullscreen;
fprintf(f, "fullscreen %d\n", fullscreen > 0 ? 1 : 0);
extern int audio;
fprintf(f, "audio %d", audio > 0 ? 1 : 0);
fclose(f);
}