summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index c3aef307b..42e36022a 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -755,12 +755,7 @@ bool AfterLoadGame()
_settings_game.linkgraph.distribution_default = DT_MANUAL;
}
- if (IsSavegameVersionBefore(SLV_105)) {
- extern int32 _old_ending_year_slv_105; // in date.cpp
- _settings_game.game_creation.ending_year = _old_ending_year_slv_105 - 1;
- } else if (IsSavegameVersionBefore(SLV_ENDING_YEAR)) {
- /* Ending year was a GUI setting before SLV_105, was removed in revision 683b65ee1 (svn r14755). */
- /* This also converts scenarios, both when loading them into the editor, and when starting a new game. */
+ if (IsSavegameVersionBefore(SLV_ENDING_YEAR)) {
_settings_game.game_creation.ending_year = DEF_END_YEAR;
}