From 3852ae12647f0539eb8f2ad159d0d4165a60e9a3 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 22 Jan 2009 22:02:05 +0000 Subject: [PATCH] (svn r15211) -Fix (r15190): loading of TTD savegames was broken --- src/saveload/oldloader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index d1c2210ae8..4b7af3a428 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) }