summaryrefslogtreecommitdiff
path: root/src
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
commit3852ae12647f0539eb8f2ad159d0d4165a60e9a3 (patch)
tree7060cb209d5a6da446a7e4bc829037e318b36da4 /src
parentc5f0fe7c4074fc61dd54b756d2835fcf90ceaf05 (diff)
downloadopenttd-3852ae12647f0539eb8f2ad159d0d4165a60e9a3.tar.xz
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
Diffstat (limited to 'src')
-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)
}