[Scummvm-cvs-logs] SF.net SVN: scummvm:[55006] scummvm/trunk/engines/sci/sci.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Dec 22 15:04:39 CET 2010


Revision: 55006
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55006&view=rev
Author:   thebluegr
Date:     2010-12-22 14:04:39 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
SCI: Limit the speech/subtitle settings sync to SCI1.1 CD games only. Earlier
versions (like SCI1, e.g. KQ5CD and Jones CD) didn't have such settings

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sci.cpp

Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp	2010-12-22 13:58:28 UTC (rev 55005)
+++ scummvm/trunk/engines/sci/sci.cpp	2010-12-22 14:04:39 UTC (rev 55006)
@@ -816,8 +816,8 @@
 }
 
 void SciEngine::syncIngameAudioOptions() {
-	// Now, sync the in-game speech/subtitles settings for CD games
-	if (isCD()) {
+	// Now, sync the in-game speech/subtitles settings for SCI1.1 CD games
+	if (isCD() && getSciVersion() == SCI_VERSION_1_1) {
 		bool subtitlesOn = ConfMan.getBool("subtitles");
 		bool speechOn = !ConfMan.getBool("speech_mute");
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list