diff options
author | md5 | 2011-05-04 10:52:36 +0300 |
---|---|---|
committer | md5 | 2011-05-04 10:52:36 +0300 |
commit | 7b8f3021ac8f1bbc266f7e00c4a649830316fe24 (patch) | |
tree | 567ef7aca679e399a05b23ca82cdb7f72d4585ab /engines/tsage/converse.cpp | |
parent | a1c339ea4f70d4f93310fbece51a6b3348e769f4 (diff) | |
download | scummvm-rg350-7b8f3021ac8f1bbc266f7e00c4a649830316fe24.tar.gz scummvm-rg350-7b8f3021ac8f1bbc266f7e00c4a649830316fe24.tar.bz2 scummvm-rg350-7b8f3021ac8f1bbc266f7e00c4a649830316fe24.zip |
TSAGE: Bumped up savegame version, so that the old savegames are still usable
Savegames from revisions bf9b98f and 4f70162d are now version 2 savegames
Diffstat (limited to 'engines/tsage/converse.cpp')
-rw-r--r-- | engines/tsage/converse.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp index 8e36acf2b6..84c2089471 100644 --- a/engines/tsage/converse.cpp +++ b/engines/tsage/converse.cpp @@ -53,7 +53,8 @@ void SequenceManager::setup() { } void SequenceManager::synchronise(Serialiser &s) { - Action::synchronise(s); + if (s.getVersion() >= 2) + Action::synchronise(s); s.syncAsSint32LE(_resNum); s.syncAsSint32LE(_sequenceOffset); @@ -590,7 +591,8 @@ void StripManager::load() { } void StripManager::synchronise(Serialiser &s) { - Action::synchronise(s); + if (s.getVersion() >= 2) + Action::synchronise(s); s.syncAsSint32LE(_stripNum); s.syncAsSint32LE(_obj44Index); @@ -804,7 +806,8 @@ Speaker::Speaker() : EventHandler() { } void Speaker::synchronise(Serialiser &s) { - EventHandler::synchronise(s); + if (s.getVersion() >= 2) + EventHandler::synchronise(s); _fieldA.synchronise(s); SYNC_POINTER(_field18); |