From b7206b048c7dad74e2d998645980edfc4737fe31 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 29 Dec 2009 12:25:53 +0000 Subject: SCI/newmusic: changed pauseCounter again ;) svn-id: r46707 --- engines/sci/sfx/music.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index 4b3618004c..88dcec2b6f 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -463,8 +463,9 @@ void SciMusic::soundPause(MusicEntry *pSnd) { } void SciMusic::soundResume(MusicEntry *pSnd) { - pSnd->pauseCounter--; if (pSnd->pauseCounter > 0) + pSnd->pauseCounter--; + if (pSnd->pauseCounter != 0) return; if (pSnd->status != kSoundPaused) return; -- cgit v1.2.3