# HG changeset patch # User smatz # Date 2009-01-22 22:02:05 # Node ID 14fd6d5f585d3f6d82426a70e36f717f3fa41107 # Parent 1cfbd5e0cc735eec03ac1a8ace92c3be258fa0a6 (svn r15211) -Fix (r15190): loading of TTD savegames was broken diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp --- 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 *l 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) }