summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openttd.c b/openttd.c
index 7d1438d21..d14861d88 100644
--- a/openttd.c
+++ b/openttd.c
@@ -1135,6 +1135,10 @@ bool AfterLoadGame(void)
// Load the sprites
GfxLoadSprites();
+ /* Connect front and rear engines of multiheaded trains and converts
+ * subtype to the new format */
+ if (CheckSavegameVersionOldStyle(17, 1)) ConvertOldMultiheadToNew();
+
// Update current year
SetDate(_date);