aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-29 09:28:05 +0000
committerMartin Kiewitz2009-12-29 09:28:05 +0000
commite44cc2c72d1fb35dbb90cd0722f2d3ed62d01bb3 (patch)
tree8491be329eeba293eff2b84574bc1fcbddcdf8db /engines/sci
parent2d7c1e2c71bce0181bf821001f7a30a02e71473f (diff)
downloadscummvm-rg350-e44cc2c72d1fb35dbb90cd0722f2d3ed62d01bb3.tar.gz
scummvm-rg350-e44cc2c72d1fb35dbb90cd0722f2d3ed62d01bb3.tar.bz2
scummvm-rg350-e44cc2c72d1fb35dbb90cd0722f2d3ed62d01bb3.zip
SCI/newmusic: changed pausecounter behaviour within resume
svn-id: r46706
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp
index 3edc06990f..4b3618004c 100644
--- a/engines/sci/sfx/music.cpp
+++ b/engines/sci/sfx/music.cpp
@@ -464,7 +464,7 @@ void SciMusic::soundPause(MusicEntry *pSnd) {
void SciMusic::soundResume(MusicEntry *pSnd) {
pSnd->pauseCounter--;
- if (pSnd->pauseCounter != 0)
+ if (pSnd->pauseCounter > 0)
return;
if (pSnd->status != kSoundPaused)
return;