aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-29 12:25:53 +0000
committerMartin Kiewitz2009-12-29 12:25:53 +0000
commitb7206b048c7dad74e2d998645980edfc4737fe31 (patch)
tree7e0deaccc6325d1360441edf346464c11e78b1a8
parente44cc2c72d1fb35dbb90cd0722f2d3ed62d01bb3 (diff)
downloadscummvm-rg350-b7206b048c7dad74e2d998645980edfc4737fe31.tar.gz
scummvm-rg350-b7206b048c7dad74e2d998645980edfc4737fe31.tar.bz2
scummvm-rg350-b7206b048c7dad74e2d998645980edfc4737fe31.zip
SCI/newmusic: changed pauseCounter again ;)
svn-id: r46707
-rw-r--r--engines/sci/sfx/music.cpp3
1 files changed, 2 insertions, 1 deletions
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;