diff options
author | Travis Howell | 2003-12-01 10:23:51 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-01 10:23:51 +0000 |
commit | b39836306028af7454fc545987f952934613217e (patch) | |
tree | 0d47eb34c3c51eb2882f6130c8d8fcb8cae4e1f6 | |
parent | 72eb8ccb8934b0032a3f53a9ffc0e21bce4bdf23 (diff) | |
download | scummvm-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.cpp | 4 |
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) |