diff options
author | smatz <smatz@openttd.org> | 2009-01-22 22:02:05 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-22 22:02:05 +0000 |
commit | 50956b4f7ae2cdb5b8dc52e517c98123a466e666 (patch) | |
tree | 7060cb209d5a6da446a7e4bc829037e318b36da4 /src/saveload | |
parent | 12c89708cb463660d9e39c738471b1c018096cf0 (diff) | |
download | openttd-50956b4f7ae2cdb5b8dc52e517c98123a466e666.tar.xz |
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader.cpp | 3 |
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) } |