[Scummvm-cvs-logs] scummvm master -> 8ac319365a7fd68bf09ed0edacddaa3e5f1dda09

Strangerke Strangerke at scummvm.org
Thu Nov 28 01:32:50 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8ac319365a TSAGE: Fix savegame issue


Commit: 8ac319365a7fd68bf09ed0edacddaa3e5f1dda09
    https://github.com/scummvm/scummvm/commit/8ac319365a7fd68bf09ed0edacddaa3e5f1dda09
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-27T16:31:42-08:00

Commit Message:
TSAGE: Fix savegame issue

Changed paths:
    engines/tsage/blue_force/blueforce_logic.h
    engines/tsage/core.cpp



diff --git a/engines/tsage/blue_force/blueforce_logic.h b/engines/tsage/blue_force/blueforce_logic.h
index c6c6dc6..0045980 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 88f2c85..0c17bf9 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);






More information about the Scummvm-git-logs mailing list