SCI: Add version to obsolete string

This way, if we ever get rid of support for savegames with
version <= 23, we can also get rid of this syncString()
call. Without this change, it would have "infected" every
new savegame version, forever.

svn-id: r50730
This commit is contained in:
Max Horn 2010-07-06 23:24:36 +00:00
parent fe409ea269
commit afd2850058

View File

@ -286,7 +286,7 @@ void EngineState::saveLoadWithSerializer(Common::Serializer &s) {
s.skip(4, VER(9), VER(9)); // OBSOLETE: Used to be savegame_version
Common::String tmp;
s.syncString(tmp); // OBSOLETE: Used to be game_version
s.syncString(tmp, VER(9), VER(23)); // OBSOLETE: Used to be game_version
s.skip(4, VER(9), VER(9)); // OBSOLETE: Used to be version
// OBSOLETE: Saved menus. Skip all of the saved data
@ -746,7 +746,7 @@ void SegManager::reconstructClones() {
if (!baseObj)
error("Clone entry without a base class: %d", j);
} // end for
} // end if
} // end if
} // end for
}