aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-22 12:32:54 +0000
committerFilippos Karapetis2010-01-22 12:32:54 +0000
commitb8d0c214ea58eab7d6a7d3466d010ceb1deabd25 (patch)
treeadb8bdbb930fd8c7fb3354c59ee1e82b89ce0505
parent47c97f4a60c54952956e2eea58ae31939afe7fae (diff)
downloadscummvm-rg350-b8d0c214ea58eab7d6a7d3466d010ceb1deabd25.tar.gz
scummvm-rg350-b8d0c214ea58eab7d6a7d3466d010ceb1deabd25.tar.bz2
scummvm-rg350-b8d0c214ea58eab7d6a7d3466d010ceb1deabd25.zip
Reset the value of _resetOnPause when a song is loaded/unloaded
svn-id: r47434
-rw-r--r--engines/sci/sound/midiparser_sci.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index e6f5e38741..6dbadf7db0 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -100,6 +100,7 @@ void MidiParser_SCI::unloadMusic() {
allNotesOff();
_num_tracks = 0;
_active_track = 255;
+ _resetOnPause = false;
if (_mixedData) {
delete[] _mixedData;