aboutsummaryrefslogtreecommitdiff
path: root/sound/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sound.cpp')
-rw-r--r--sound/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/sound.cpp b/sound/sound.cpp
index 69bdfc8143..a096774842 100644
--- a/sound/sound.cpp
+++ b/sound/sound.cpp
@@ -977,8 +977,8 @@ void Sound::bundleMusicHandler(Scumm * scumm) {
}
}
- if (l == num)
- l = 0;
+ if (_currentSampleBundleMusic == num)
+ _currentSampleBundleMusic = 0;
size = OUTPUT_SIZE;
ptr = _musicBundleBufFinal;