aboutsummaryrefslogtreecommitdiff
path: root/sound/audiocd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/audiocd.cpp')
-rw-r--r--sound/audiocd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp
index e8a74d062c..3188d03cee 100644
--- a/sound/audiocd.cpp
+++ b/sound/audiocd.cpp
@@ -105,7 +105,7 @@ bool AudioCDManager::isPlaying() const {
void AudioCDManager::updateCD() {
if (_cd.playing) {
// If the sound handle is 0, then playback stopped.
- if (!_cd.handle.isActive()) {
+ if (!g_engine->_mixer->isSoundHandleActive(_cd.handle)) {
// If playback just stopped, check if the current track is supposed
// to be repeated, and if that's the case, play it again. Else, stop
// the CD explicitly.