diff options
author | peter1138 <peter1138@openttd.org> | 2006-01-04 20:18:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-01-04 20:18:39 +0000 |
commit | 4b464093e7e69272728afc730874d1d10a9a5d35 (patch) | |
tree | 0023f060e36599542eb0542969bba61ff0e4a72e /openttd.c | |
parent | 911a8aa08d81a327a32f54ea9776b711fe6bd0d4 (diff) | |
download | openttd-4b464093e7e69272728afc730874d1d10a9a5d35.tar.xz |
(svn r3362) Fix issue with loading old (TTD) savegames:
- move call to convert from old to new train subtypes.
- ensure AI is started for AI players.
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |