[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.343,1.344

Travis Howell kirben at users.sourceforge.net
Mon Dec 1 02:24:07 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv1107/simon

Modified Files:
	simon.cpp 
Log Message:

Simon2 background sfx can be disabled in scripts


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -d -r1.343 -r1.344
--- simon.cpp	1 Dec 2003 09:58:55 -0000	1.343
+++ simon.cpp	1 Dec 2003 10:23:51 -0000	1.344
@@ -3463,7 +3463,9 @@
 			_sound->effectsPause(_effects_paused ^= 1);
 		break;
 	case 'b':
-		_sound->ambientPause(_ambient_paused ^= 1);
+		_ambient_paused ^= 1;
+		_sound->ambientPause(_ambient_paused);
+		vc_set_bit_to(99, _ambient_paused);
 		break;
 	case 'r':
 		if (_debugMode)





More information about the Scummvm-git-logs mailing list