summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-30 23:24:17 +0000
committerrubidium <rubidium@openttd.org>2009-10-30 23:24:17 +0000
commitee2d790b344fd9b37cf943d6d883120e77a3e444 (patch)
tree5b781d326bb149bec1c951b8ecc3882aac57be42 /src
parentabbaed60d3c209e3353ea4896328ac03cfd66ee9 (diff)
downloadopenttd-ee2d790b344fd9b37cf943d6d883120e77a3e444.tar.xz
(svn r17908) -Fix [FS#3288]: uninitialised values in some paths of loading TTO savegames
Diffstat (limited to 'src')
-rw-r--r--src/saveload/oldloader_sl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index 809d88ed9..cb13b10fd 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -353,7 +353,7 @@ static bool FixTTOEngines()
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 44, 45, 46, 255, 255, 255, 255, 47, 48, 255, 49, 50,
255, 255, 255, 255, 51, 52, 255, 53, 54, 255, 55, 56, 255, 57, 58, 255,
- 59, 60, 255,61, 62, 255, 63, 64, 255, 65, 66, 255, 255, 255, 255, 255,
+ 59, 60, 255, 61, 62, 255, 63, 64, 255, 65, 66, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 67, 68, 69, 70,
@@ -433,12 +433,12 @@ static bool FixTTOEngines()
}
}
- e->preview_company_rank = 0;
- e->preview_wait = 0;
- e->name = NULL;
-
e->info.climates = 1;
}
+
+ e->preview_company_rank = 0;
+ e->preview_wait = 0;
+ e->name = NULL;
}
return true;