summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp5
-rw-r--r--src/saveload/saveload.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index d19adc190..bbff67644 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -659,6 +659,11 @@ bool AfterLoadGame()
}
}
+ /* Force the freeform edges to false for old savegames. */
+ if (CheckSavegameVersion(111)) {
+ _settings_game.construction.freeform_edges = false;
+ }
+
/* From version 9.0, we update the max passengers of a town (was sometimes negative
* before that. */
if (CheckSavegameVersion(9)) {
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index b7dc4e9a9..58cc791c5 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -42,7 +42,7 @@
#include <list>
-extern const uint16 SAVEGAME_VERSION = 110;
+extern const uint16 SAVEGAME_VERSION = 111;
SavegameType _savegame_type; ///< type of savegame we are loading