diff options
author | James Brown | 2003-01-13 13:13:36 +0000 |
---|---|---|
committer | James Brown | 2003-01-13 13:13:36 +0000 |
commit | 35d3d26f0cd4ca11beae544fa3c36f32c2c0df8b (patch) | |
tree | 9776aba6673c1d0e7862352f29eb659eab18ba98 /scumm | |
parent | eb9726c4974111ac56bbc256658785f06d4df531 (diff) | |
download | scummvm-rg350-35d3d26f0cd4ca11beae544fa3c36f32c2c0df8b.tar.gz scummvm-rg350-35d3d26f0cd4ca11beae544fa3c36f32c2c0df8b.tar.bz2 scummvm-rg350-35d3d26f0cd4ca11beae544fa3c36f32c2c0df8b.zip |
Fix old-game resource error dialog
svn-id: r6441
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 95a92caf23..d632f60012 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -742,6 +742,10 @@ void Sound::pauseSounds(bool pause) { if (se) se->pause(pause); + // Don't pause sounds if the game isn't active + if (!_scumm->_roomResource) + return; + _soundsPaused = pause; _scumm->_mixer->pause(pause); |