aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
authorColin Snover2016-09-30 19:05:14 -0500
committerColin Snover2016-09-30 19:05:14 -0500
commit60be24d973e2a86493fd636fb152ffb31527275f (patch)
tree8402747497428cb006104138d9562cc04287ae72 /engines/sci/engine/savegame.cpp
parentf0425d4e94f5e54f9c502a388732fa6e77401814 (diff)
downloadscummvm-rg350-60be24d973e2a86493fd636fb152ffb31527275f.tar.gz
scummvm-rg350-60be24d973e2a86493fd636fb152ffb31527275f.tar.bz2
scummvm-rg350-60be24d973e2a86493fd636fb152ffb31527275f.zip
SCI: Bump save game number to fix save game compatibility
Version 38 save games were added to the 1.9 release branch with only changes to SCI32 cursor support; shortly thereafter, changes to the general (SCI16+SCI32) save game metadata were committed to master -- without bumping the save game version number. This prevented SCI16 save games from loading correctly in 1.10pre, since the engine expected that version 38 games would have this extra metadata, but they don't.
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index a238d76279..20889f230b 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -333,7 +333,7 @@ static void sync_SavegameMetadata(Common::Serializer &s, SavegameMetadata &obj)
// Some games require additional metadata to display their restore screens
// correctly
- if (s.getVersion() >= 38) {
+ if (s.getVersion() >= 39) {
if (s.isSaving()) {
const reg_t *globals = g_sci->getEngineState()->variables[VAR_GLOBAL];
if (g_sci->getGameId() == GID_SHIVERS) {