mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCI/newmusic: changed pausecounter behaviour within resume
svn-id: r46706
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user