summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r--src/saveload/afterload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 9ef1f8986..66256d12e 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -424,6 +424,9 @@ bool AfterLoadGame()
}
}
+ /* Update all waypoints */
+ if (CheckSavegameVersion(12)) FixOldWaypoints();
+
if (CheckSavegameVersion(84)) {
FOR_ALL_COMPANIES(c) {
c->name = CopyFromOldName(c->name_1);
@@ -526,9 +529,6 @@ bool AfterLoadGame()
}
}
- /* Update all waypoints */
- if (CheckSavegameVersion(12)) FixOldWaypoints();
-
/* make sure there is a town in the game */
if (_game_mode == GM_NORMAL && !ClosestTownFromTile(0, UINT_MAX)) {
SetSaveLoadError(STR_NO_TOWN_IN_SCENARIO);