aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-29 18:17:14 +0000
committerMartin Kiewitz2009-12-29 18:17:14 +0000
commit0fb1c8b1062bfa501a301dc56068099dd6c0a862 (patch)
tree0ac9e31922b27a2e77d4bb0fa997aeb7f529bc89
parent10e62ea99217eb5d4173c13571bb45c37c6e3137 (diff)
downloadscummvm-rg350-0fb1c8b1062bfa501a301dc56068099dd6c0a862.tar.gz
scummvm-rg350-0fb1c8b1062bfa501a301dc56068099dd6c0a862.tar.bz2
scummvm-rg350-0fb1c8b1062bfa501a301dc56068099dd6c0a862.zip
SCI/newmusic: dont do pause/resume on the whole playlist prior sci1late (soundversion)
svn-id: r46713
-rw-r--r--engines/sci/sfx/soundcmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index 9137c50f80..abe7e7bb39 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -523,6 +523,9 @@ void SoundCommandParser::cmdPauseHandle(reg_t obj, int16 value) {
MusicList::iterator slotLoop = NULL;
if (!obj.segment) {
+ // Pausing/Resuming whole playlist was introduced sci1late (soundversion-wise)
+ if (_soundVersion <= SCI_VERSION_1_EARLY)
+ return;
slotLoop = _music->enumPlayList(NULL);
musicSlot = *slotLoop;
} else {