aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-12-01 10:23:51 +0000
committerTravis Howell2003-12-01 10:23:51 +0000
commitb39836306028af7454fc545987f952934613217e (patch)
tree0d47eb34c3c51eb2882f6130c8d8fcb8cae4e1f6
parent72eb8ccb8934b0032a3f53a9ffc0e21bce4bdf23 (diff)
downloadscummvm-rg350-b39836306028af7454fc545987f952934613217e.tar.gz
scummvm-rg350-b39836306028af7454fc545987f952934613217e.tar.bz2
scummvm-rg350-b39836306028af7454fc545987f952934613217e.zip
Simon2 background sfx can be disabled in scripts
svn-id: r11446
-rw-r--r--simon/simon.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 16220b38b0..227459dc5c 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -3463,7 +3463,9 @@ void SimonEngine::processSpecialKeys() {
_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)