summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-22 22:02:05 +0000
committersmatz <smatz@openttd.org>2009-01-22 22:02:05 +0000
commit50956b4f7ae2cdb5b8dc52e517c98123a466e666 (patch)
tree7060cb209d5a6da446a7e4bc829037e318b36da4
parent12c89708cb463660d9e39c738471b1c018096cf0 (diff)
downloadopenttd-50956b4f7ae2cdb5b8dc52e517c98123a466e666.tar.xz
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
-rw-r--r--src/saveload/oldloader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index d1c2210ae..4b7af3a42 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -8,6 +8,7 @@
#include "../debug.h"
#include "../strings_type.h"
#include "../string_func.h"
+#include "../settings_type.h"
#include "table/strings.h"
@@ -189,6 +190,8 @@ static void InitLoading(LoadgameState *ls)
memset(ls->buffer, 0, BUFFER_SIZE);
_bump_assert_value = 0;
+
+ _settings_game.construction.freeform_edges = false; // disable so we can convert map array (SetTileType is still used)
}