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 | 3852ae12647f0539eb8f2ad159d0d4165a60e9a3 (patch) | |
tree | 7060cb209d5a6da446a7e4bc829037e318b36da4 | |
parent | c5f0fe7c4074fc61dd54b756d2835fcf90ceaf05 (diff) | |
download | openttd-3852ae12647f0539eb8f2ad159d0d4165a60e9a3.tar.xz |
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
-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) } |