mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
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:
parent
fe409ea269
commit
afd2850058
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user