diff options
author | Paul Gilbert | 2017-08-07 19:08:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-07 19:08:03 -0400 |
commit | da4d4d8272a96b6ce5de905966f1ce9ba859a6a3 (patch) | |
tree | c0b409ed9356cfe257fdc432f3a582bb8ee183de /engines/sherlock/saveload.cpp | |
parent | 9a0f1adcb7e6682aea7edc56751998db54b25e8a (diff) | |
download | scummvm-rg350-da4d4d8272a96b6ce5de905966f1ce9ba859a6a3.tar.gz scummvm-rg350-da4d4d8272a96b6ce5de905966f1ce9ba859a6a3.tar.bz2 scummvm-rg350-da4d4d8272a96b6ce5de905966f1ce9ba859a6a3.zip |
SHERLOCK: Remove redundant derived Serializer class
Diffstat (limited to 'engines/sherlock/saveload.cpp')
-rw-r--r-- | engines/sherlock/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/saveload.cpp b/engines/sherlock/saveload.cpp index 45a4eedb10..44b5e103d2 100644 --- a/engines/sherlock/saveload.cpp +++ b/engines/sherlock/saveload.cpp @@ -219,7 +219,7 @@ void SaveManager::loadGame(int slot) { // Synchronize the savegame data Serializer s(saveFile, nullptr); - s.setSaveVersion(header._version); + s.setVersion(header._version); synchronize(s); delete saveFile; @@ -237,7 +237,7 @@ void SaveManager::saveGame(int slot, const Common::String &name) { // Synchronize the savegame data Serializer s(nullptr, out); - s.setSaveVersion(CURRENT_SAVEGAME_VERSION); + s.setVersion(CURRENT_SAVEGAME_VERSION); synchronize(s); out->finalize(); |