(svn r3484) -fix: fixed issue in last commit where loading savegame versions 18 and 19 didn't init the multiheaded engine pointers

This commit is contained in:
bjarni
2006-01-29 23:04:51 +00:00
parent b7beb3d87d
commit 8c7e594b08
2 changed files with 2 additions and 38 deletions

View File

@@ -1150,9 +1150,8 @@ bool AfterLoadGame(void)
* subtype to the new format */
if (CheckSavegameVersionOldStyle(17, 1)) ConvertOldMultiheadToNew();
/* Connect front and rear engines of multiheaded trains
since this info were no longer saved in savegame version 20 */
if (!CheckSavegameVersion(20)) ConnectMultiheadedTrains();
/* Connect front and rear engines of multiheaded trains */
ConnectMultiheadedTrains();
// Update current year
SetDate(_date);