[Scummvm-cvs-logs] SF.net SVN: scummvm:[38518] scummvm/trunk

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Thu Feb 19 01:08:37 CET 2009


Revision: 38518
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38518&view=rev
Author:   Kirben
Date:     2009-02-19 00:08:35 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
The background sounds option, only applies to Simon the Sorcerer 2.

Modified Paths:
--------------
    scummvm/trunk/README
    scummvm/trunk/engines/agos/input.cpp

Modified: scummvm/trunk/README
===================================================================
--- scummvm/trunk/README	2009-02-18 23:18:27 UTC (rev 38517)
+++ scummvm/trunk/README	2009-02-19 00:08:35 UTC (rev 38518)
@@ -1122,6 +1122,7 @@
         m                      - Music on/off
         s                      - Sound effects on/off
         b                      - Background sounds on/off
+                                 [Simon the Sorcerer 2 only]
         p                      - Pauses
         t                      - Switch between speech and subtitles
         v                      - Switch between subtitles only and
@@ -1143,7 +1144,6 @@
         F7                     - Switch characters
         F9                     - Hitbox names on/off
         s                      - Sound effects on/off
-        b                      - Background sounds on/off
         p                      - Pauses
         t                      - Switch between speech and subtitles
         v                      - Switch between subtitles only and

Modified: scummvm/trunk/engines/agos/input.cpp
===================================================================
--- scummvm/trunk/engines/agos/input.cpp	2009-02-18 23:18:27 UTC (rev 38517)
+++ scummvm/trunk/engines/agos/input.cpp	2009-02-19 00:08:35 UTC (rev 38518)
@@ -594,7 +594,9 @@
 		}
 		break;
 	case Common::KEYCODE_b:
-		_sound->ambientPause(_ambientPaused ^= 1);
+		if (getGameType() == GType_SIMON2) {
+			_sound->ambientPause(_ambientPaused ^= 1);
+		}
 		break;
 	case Common::KEYCODE_r:
 		if (_debugMode)


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