aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tsage/blue_force/blueforce_scenes3.cpp2
-rw-r--r--engines/tsage/core.cpp2
-rw-r--r--engines/tsage/globals.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index 1dea7f7687..a63f45d8df 100644
--- a/engines/tsage/blue_force/blueforce_scenes3.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes3.cpp
@@ -4350,7 +4350,7 @@ void Scene360::Action1::signal() {
void Scene360::synchronize(Serializer &s) {
SceneExt::synchronize(s);
if (s.getVersion() < 9) {
- int tmpVar;
+ int tmpVar = 0;
s.syncAsSint16LE(tmpVar);
}
}
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index b991e4677b..266d39a907 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -3710,7 +3710,7 @@ int WalkRegions::indexOf(const Common::Point &pt, const Common::List<int> *index
void WalkRegions::synchronize(Serializer &s) {
// Synchronise the list of disabled regions as a list of values terminated with a '-1'
- int regionId;
+ int regionId = 0;
if (s.isLoading()) {
_disabledRegions.clear();
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index ad1ae04be2..0b59fd4e36 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -230,7 +230,7 @@ void BlueForceGlobals::synchronize(Serializer &s) {
s.syncAsSint16LE(_dayNumber);
if (s.getVersion() < 9) {
- int tmpVar;
+ int tmpVar = 0;
s.syncAsSint16LE(tmpVar);
}
s.syncAsSint16LE(_tonyDialogCtr);