[Scummvm-cvs-logs] SF.net SVN: scummvm:[38521] scummvm/tags/release-0-13-0

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Thu Feb 19 01:18:51 CET 2009


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

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

Modified Paths:
--------------
    scummvm/tags/release-0-13-0/README
    scummvm/tags/release-0-13-0/engines/agos/input.cpp

Modified: scummvm/tags/release-0-13-0/README
===================================================================
--- scummvm/tags/release-0-13-0/README	2009-02-19 00:17:08 UTC (rev 38520)
+++ scummvm/tags/release-0-13-0/README	2009-02-19 00:18:51 UTC (rev 38521)
@@ -1113,6 +1113,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
@@ -1134,7 +1135,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/tags/release-0-13-0/engines/agos/input.cpp
===================================================================
--- scummvm/tags/release-0-13-0/engines/agos/input.cpp	2009-02-19 00:17:08 UTC (rev 38520)
+++ scummvm/tags/release-0-13-0/engines/agos/input.cpp	2009-02-19 00:18:51 UTC (rev 38521)
@@ -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