diff options
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r-- | engines/voyeur/voyeur.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index 01b76a72d1..7f2f0e312e 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -793,6 +793,7 @@ void VoyeurEngine::loadGame(int slot) { header._thumbnail->free(); delete header._thumbnail; + serializer.setVersion(header._version); synchronize(serializer); delete saveFile; @@ -821,6 +822,7 @@ Common::Error VoyeurEngine::saveGameState(int slot, const Common::String &desc) Common::Serializer serializer(NULL, saveFile); // Synchronise the data + serializer.setVersion(VOYEUR_SAVEGAME_VERSION); synchronize(serializer); saveFile->finalize(); |