aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound.cpp b/sound.cpp
index df8416eb38..0d40b168c7 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -510,7 +510,7 @@ void Scumm::stopSound(int a)
IMuse *se;
int i;
- if (a == current_cd_sound) {
+ if (a != 0 && a == current_cd_sound) {
current_cd_sound = 0;
#ifdef COMPRESSED_SOUND_FILE
if (stopMP3CD() == -1)