summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-13 10:51:58 +0000
committerfrosch <frosch@openttd.org>2013-10-13 10:51:58 +0000
commit871519f75a46c07aab72cbb97df0ea6dd687b3d6 (patch)
treec77ef560a9b53d419cb484c9cf07eb468f56afc6
parent15ebb2944713c7da1b7eb64189238c10c0d025fb (diff)
downloadopenttd-871519f75a46c07aab72cbb97df0ea6dd687b3d6.tar.xz
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
-rw-r--r--src/saveload/afterload.cpp2
-rw-r--r--src/saveload/saveload.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 74f7778fb..8cf3119e1 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2815,7 +2815,7 @@ bool AfterLoadGame()
_settings_game.locale.units_height = Clamp(_old_units, 0, 2);
}
- if (IsSavegameVersionBefore(185)) {
+ if (IsSavegameVersionBefore(186)) {
/* Move ObjectType from map to pool */
for (TileIndex t = 0; t < map_size; t++) {
if (IsTileType(t, MP_OBJECT)) {
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 086dd41f3..a4ad9059b 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -251,7 +251,7 @@
* 183 25363
* 184 25508
* 185 25620
- * 186 TODO
+ * 186 25833
*/
extern const uint16 SAVEGAME_VERSION = 186; ///< Current savegame version of OpenTTD.