[Scummvm-cvs-logs] CVS: scummvm/sword2 controls.cpp,1.38,1.39

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Thu Oct 30 23:44:02 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv22905

Modified Files:
	controls.cpp 
Log Message:
Save the config file when options are changed.


Index: controls.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/controls.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- controls.cpp	29 Oct 2003 07:53:05 -0000	1.38
+++ controls.cpp	31 Oct 2003 07:43:26 -0000	1.39
@@ -1395,6 +1395,8 @@
 	ConfMan.set("nosubtitles", !gui._subtitles);
 	ConfMan.set("object_labels", gui._pointerTextSelected);
 	ConfMan.set("reverse_stereo", gui._stereoReversed);
+
+	ConfMan.flushToDisk();
 }
 
 uint32 Gui::restoreControl(void) {





More information about the Scummvm-git-logs mailing list