diff options
author | Filippos Karapetis | 2009-11-29 14:44:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-11-29 14:44:12 +0000 |
commit | dc22fc1c9e7ad026990ed553ac368d1a125bf415 (patch) | |
tree | ba0a68a0cef5817943f15b8e50d6167274c97b3a /engines/sci/engine | |
parent | 780ede2e71cebe617e528c49340a55e2e44d5720 (diff) | |
download | scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.tar.gz scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.tar.bz2 scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.zip |
Properly update the sound state in the sound command parser when loading a game
svn-id: r46196
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 03b31b39c7..75637e09ef 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -790,6 +790,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { retval->sfx_init_flags = s->sfx_init_flags; retval->_sound._songlib.freeSounds(); retval->_sound._songlib = temp; + retval->_soundCmd->updateSfxState(&retval->_sound); reconstruct_stack(retval); retval->_segMan->reconstructScripts(retval); |