forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user