From c52337b1287dd8728ab5ac8695f25ebfc89062fb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 30 Jun 2003 20:50:52 +0000 Subject: fix for bug #755899 (thanks Hibernatus) svn-id: r8677 --- scumm/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') 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; } -- cgit v1.2.3