diff options
author | Filippos Karapetis | 2010-06-29 09:00:08 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-29 09:00:08 +0000 |
commit | 9f1320d5cc1d0892e0b3ea9812b6599125bd1c65 (patch) | |
tree | 5817eb4bc245a9b673c2452cb2a9fe9173f1fa29 /engines/sci/engine/savegame.cpp | |
parent | 5e030bebcc8e1a1cf918559c729039fc50a470e7 (diff) | |
download | scummvm-rg350-9f1320d5cc1d0892e0b3ea9812b6599125bd1c65.tar.gz scummvm-rg350-9f1320d5cc1d0892e0b3ea9812b6599125bd1c65.tar.bz2 scummvm-rg350-9f1320d5cc1d0892e0b3ea9812b6599125bd1c65.zip |
SCI: Made the SoundCommandParser a member of the SciEngine class and removed it from the EngineState, since it's static throughout the course of a game
svn-id: r50484
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 7804265d0d..bf7b88b699 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -385,7 +385,7 @@ void EngineState::saveLoadWithSerializer(Common::Serializer &s) { #ifdef USE_OLD_MUSIC_FUNCTIONS sync_songlib(s, _sound._songlib); #else - _soundCmd->syncPlayList(s); + g_sci->_soundCmd->syncPlayList(s); #endif } @@ -978,7 +978,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { s->_sound._suspended = s->_sound._suspended; reconstruct_sounds(s); #else - s->_soundCmd->reconstructPlayList(meta.savegame_version); + g_sci->_soundCmd->reconstructPlayList(meta.savegame_version); #endif // Message state: |