aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-06-30 20:50:52 +0000
committerMax Horn2003-06-30 20:50:52 +0000
commitc52337b1287dd8728ab5ac8695f25ebfc89062fb (patch)
treee6ccd6889b15d0c8032eba1edf7dc8e09407a8ad /scumm
parent36899b8200425a6781e21392f0e1598b4dc99d63 (diff)
downloadscummvm-rg350-c52337b1287dd8728ab5ac8695f25ebfc89062fb.tar.gz
scummvm-rg350-c52337b1287dd8728ab5ac8695f25ebfc89062fb.tar.bz2
scummvm-rg350-c52337b1287dd8728ab5ac8695f25ebfc89062fb.zip
fix for bug #755899 (thanks Hibernatus)
svn-id: r8677
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 67406065bf..4062e74135 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -371,12 +371,12 @@ void Sound::playSound(int soundID) {
if (size == 30) {
int track = *(ptr + 0x16);
- if (track == _current_cd_sound)
+ if (soundID == _current_cd_sound)
if (pollCD() == 1)
return;
playCDTrack(track, 1, 0, 0);
- _current_cd_sound = track;
+ _current_cd_sound = soundID;
return;
}