diff options
author | Paul Gilbert | 2011-05-15 22:30:13 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-05-15 22:30:13 +1000 |
commit | b63e60666fe06001eabdc41cbb2439a119fa37b9 (patch) | |
tree | f77b65c939fc74e0d762441075a27b60d08ed2e2 /engines/tsage/ringworld_scenes8.cpp | |
parent | 38d787676fbf904069c88cd015ee6c47d451b14b (diff) | |
download | scummvm-rg350-b63e60666fe06001eabdc41cbb2439a119fa37b9.tar.gz scummvm-rg350-b63e60666fe06001eabdc41cbb2439a119fa37b9.tar.bz2 scummvm-rg350-b63e60666fe06001eabdc41cbb2439a119fa37b9.zip |
TSAGE: Ensured all scenes with custom data properly save it in the savegames
Diffstat (limited to 'engines/tsage/ringworld_scenes8.cpp')
-rw-r--r-- | engines/tsage/ringworld_scenes8.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/tsage/ringworld_scenes8.cpp b/engines/tsage/ringworld_scenes8.cpp index 522a4a80b6..05306fb450 100644 --- a/engines/tsage/ringworld_scenes8.cpp +++ b/engines/tsage/ringworld_scenes8.cpp @@ -34,6 +34,14 @@ void NamedHotspotMult::synchronize(Serializer &s) { s.syncAsSint16LE(_lookLineNum); } +void SceneObject7700::synchronize(Serializer &s) { + SceneObject::synchronize(s); + if (s.getVersion() >= 3) { + s.syncAsSint16LE(_lookLineNum); + s.syncAsSint16LE(_defltLineNum); + } +} + /*-------------------------------------------------------------------------- * Scene 7000 * @@ -2520,4 +2528,13 @@ Scene7700::Scene7700() { _prof._state = 0; } +void Scene7700::synchronize(Serializer &s) { + Scene::synchronize(s); + if (s.getVersion() >= 3) { + s.syncAsSint16LE(_field977); + s.syncAsSint16LE(_field979); + s.syncAsSint16LE(_field97B); + } +} + } // End of namespace tSage |