aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-02-19 00:08:35 +0000
committerTravis Howell2009-02-19 00:08:35 +0000
commit030f8b2e4a88cd1095ae191220634272e16a518a (patch)
treeeff9de153f2405384d528f1a1f9e84abc8038ced /engines/agos
parent60094239df23cd3fd41028f46a4857981081bf2a (diff)
downloadscummvm-rg350-030f8b2e4a88cd1095ae191220634272e16a518a.tar.gz
scummvm-rg350-030f8b2e4a88cd1095ae191220634272e16a518a.tar.bz2
scummvm-rg350-030f8b2e4a88cd1095ae191220634272e16a518a.zip
The background sounds option, only applies to Simon the Sorcerer 2.
svn-id: r38518
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/input.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp
index 9017d42a58..f564bd4df9 100644
--- a/engines/agos/input.cpp
+++ b/engines/agos/input.cpp
@@ -594,7 +594,9 @@ bool AGOSEngine::processSpecialKeys() {
}
break;
case Common::KEYCODE_b:
- _sound->ambientPause(_ambientPaused ^= 1);
+ if (getGameType() == GType_SIMON2) {
+ _sound->ambientPause(_ambientPaused ^= 1);
+ }
break;
case Common::KEYCODE_r:
if (_debugMode)