From 030f8b2e4a88cd1095ae191220634272e16a518a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 19 Feb 2009 00:08:35 +0000 Subject: The background sounds option, only applies to Simon the Sorcerer 2. svn-id: r38518 --- engines/agos/input.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines') 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) -- cgit v1.2.3