diff options
author | Filippos Karapetis | 2011-01-15 09:28:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-15 09:28:42 +0000 |
commit | 47d109a093f0df7db3947e051d3f097d41224eee (patch) | |
tree | f5ac1249cc318b4ad222517a9fdf0240ae00527b /engines/sci/sound | |
parent | cd108d3a81cf0370dbe72c80318df0e030a8708a (diff) | |
download | scummvm-rg350-47d109a093f0df7db3947e051d3f097d41224eee.tar.gz scummvm-rg350-47d109a093f0df7db3947e051d3f097d41224eee.tar.bz2 scummvm-rg350-47d109a093f0df7db3947e051d3f097d41224eee.zip |
SCI: Bugfix for r55246: Don't send init commands when resuming a sound
svn-id: r55247
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/music.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index a47a8670d4..d9be4ed0fe 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -431,7 +431,8 @@ void SciMusic::soundPlay(MusicEntry *pSnd) { _mutex.lock(); pSnd->pMidiParser->mainThreadBegin(); pSnd->pMidiParser->tryToOwnChannels(); - pSnd->pMidiParser->sendInitCommands(); + if (pSnd->status != kSoundPaused) + pSnd->pMidiParser->sendInitCommands(); pSnd->pMidiParser->setVolume(pSnd->volume); if (pSnd->status == kSoundStopped) { pSnd->pMidiParser->jumpToTick(0); |