(svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings.

This commit is contained in:
frosch
2011-07-03 10:59:25 +00:00
parent 9c015d369e
commit d29def43b0
3 changed files with 6 additions and 2 deletions

View File

@@ -314,7 +314,10 @@ void MakeNewgameSettingsLive()
}
#endif /* ENABLE_AI */
/* Copy newgame settings to active settings.
* Also initialise old settings needed for savegame conversion. */
_settings_game = _settings_newgame;
_old_vds = _settings_client.company.vehicle;
#ifdef ENABLE_AI
for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) {