[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.519,1.520

kirben kirben at users.sourceforge.net
Tue Oct 11 17:52:42 CEST 2005


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

Modified Files:
	simon.cpp 
Log Message:

Fix sound effects regression in simon2talkie.


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.519
retrieving revision 1.520
diff -u -d -r1.519 -r1.520
--- simon.cpp	12 Oct 2005 00:35:53 -0000	1.519
+++ simon.cpp	12 Oct 2005 00:51:14 -0000	1.520
@@ -1405,7 +1405,7 @@
 				readSubroutineBlock(in);
 				closeTablesFile(in);
 
-				if (_game == GAME_SIMON2DOS || _game == GAME_SIMON2WIN) {
+				if (_game == GAME_SIMON2DOS || _game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
 					_sound->loadSfxTable(_gameFile, _gameOffsetsPtr[atoi(filename + 6) - 1 + SOUND_INDEX_BASE]);
 				} else if (_game == GAME_SIMON1TALKIE) {
 					memcpy(filename, "SFXXXX", 6);





More information about the Scummvm-git-logs mailing list