aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/savegame.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index e380719a47..0f97025229 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -130,7 +130,6 @@ static void syncSong(Common::Serializer &s, MusicEntry *song) {
song->FadeStep = 0;
song->FadeTicker = 0;
song->FadeTickerStep = 0;
- song->pMidiParser = 0;
} else {
// A bit more optimized saving
sync_reg_t(s, song->soundObj);
@@ -145,8 +144,10 @@ static void syncSong(Common::Serializer &s, MusicEntry *song) {
s.syncAsSint32LE(song->FadeTicker);
s.syncAsSint32LE(song->FadeTickerStep);
s.syncAsByte(song->status);
- song->pMidiParser = 0;
}
+
+ song->pMidiParser = 0;
+ song->pStreamAud = 0;
}
#endif