diff options
author | frosch <frosch@openttd.org> | 2011-07-03 10:59:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-07-03 10:59:25 +0000 |
commit | d29def43b072864fd80495b1ff786476e094c771 (patch) | |
tree | c1305508216d5791caa3a04190c69a784dec8c8a /src/settings_type.h | |
parent | 9c015d369e01f027ccefea080b6ea7004e20afae (diff) | |
download | openttd-d29def43b072864fd80495b1ff786476e094c771.tar.xz |
(svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r-- | src/settings_type.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h index 5179c7da8..5ff4a0637 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -465,6 +465,9 @@ extern GameSettings _settings_game; /** The settings values that are used for new games and/or modified in config file. */ extern GameSettings _settings_newgame; +/** Old vehicle settings, which were game settings before, and are company settings now. (Needed for savegame conversion) */ +extern VehicleDefaultSettings _old_vds; + /** * Get the settings-object applicable for the current situation: the newgame settings * when we're in the main menu and otherwise the settings of the current game. |