[Scummvm-cvs-logs] CVS: scummvm/queen journal.cpp,1.43,1.43.2.1

Joost Peters joostp at users.sourceforge.net
Fri Dec 17 05:52:05 CET 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7308/queen

Modified Files:
      Tag: release-0-7-0
	journal.cpp 
Log Message:
Don't allow the user to enable speech for non-talkie versions.


Index: journal.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/journal.cpp,v
retrieving revision 1.43
retrieving revision 1.43.2.1
diff -u -d -r1.43 -r1.43.2.1
--- journal.cpp	11 Dec 2004 22:21:37 -0000	1.43
+++ journal.cpp	17 Dec 2004 13:51:05 -0000	1.43.2.1
@@ -247,7 +247,10 @@
 		}
 		drawConfigPanel();
 	} else if (zoneNum == ZN_VOICE_TOGGLE) {
-		_vm->sound()->toggleSpeech();
+		if (_vm->resource()->isCD())
+			_vm->sound()->toggleSpeech();
+		else
+			_vm->sound()->speechToggle(false);
 		drawConfigPanel();
 	} else if (zoneNum == ZN_TEXT_TOGGLE) {
 		_vm->subtitles(!_vm->subtitles());





More information about the Scummvm-git-logs mailing list