forked from mirror/OpenTTD
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
This commit is contained in:
@@ -75,13 +75,6 @@ void SetLocalCompany(CompanyID new_company)
|
||||
|
||||
_local_company = new_company;
|
||||
|
||||
/* Do not update the settings if we are in the intro GUI */
|
||||
const Company *c = Company::GetIfValid(new_company);
|
||||
if (_game_mode != GM_MENU && c != NULL) {
|
||||
_settings_client.company = c->settings;
|
||||
InvalidateWindow(WC_GAME_OPTIONS, 0);
|
||||
}
|
||||
|
||||
/* Delete any construction windows... */
|
||||
DeleteConstructionWindows();
|
||||
|
||||
|
Reference in New Issue
Block a user