(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:
2006-01-04 20:18:39 +00:00
parent 911a8aa08d
commit 4b464093e7
4 changed files with 11 additions and 6 deletions

View File

@@ -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);