aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp4
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);