diff options
author | Strangerke | 2013-11-28 01:31:42 +0100 |
---|---|---|
committer | Strangerke | 2013-11-28 01:31:42 +0100 |
commit | 8ac319365a7fd68bf09ed0edacddaa3e5f1dda09 (patch) | |
tree | 513dce85b6a26a884bd7ac91c744a3c972e650a3 /engines/tsage | |
parent | 441ebc04b0afd2ba768c454c9a20b6320b4cf6a2 (diff) | |
download | scummvm-rg350-8ac319365a7fd68bf09ed0edacddaa3e5f1dda09.tar.gz scummvm-rg350-8ac319365a7fd68bf09ed0edacddaa3e5f1dda09.tar.bz2 scummvm-rg350-8ac319365a7fd68bf09ed0edacddaa3e5f1dda09.zip |
TSAGE: Fix savegame issue
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/blue_force/blueforce_logic.h | 2 | ||||
-rw-r--r-- | engines/tsage/core.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.h b/engines/tsage/blue_force/blueforce_logic.h index c6c6dc6315..0045980820 100644 --- a/engines/tsage/blue_force/blueforce_logic.h +++ b/engines/tsage/blue_force/blueforce_logic.h @@ -145,7 +145,7 @@ public: virtual Common::String getClassName() { return "NamedObject2"; } virtual void synchronize(Serializer &s) { NamedObject::synchronize(s); - if (s.getVersion() < 11) { + if (s.getVersion() < 12) { int useless = 0; s.syncAsSint16LE(useless); } diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 88f2c85ffd..0c17bf92d7 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1547,7 +1547,7 @@ void ScenePalette::synchronize(Serializer &s) { if (s.getVersion() < 12) { int useless = 0; - s.syncAsSint16LE(useless); + s.syncAsSint32LE(useless); } s.syncAsByte(_redColor); |