diff options
author | yexo <yexo@openttd.org> | 2009-05-26 11:40:14 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-05-26 11:40:14 +0000 |
commit | a10e5f707a4dd893b5cf80faa189f669291a4906 (patch) | |
tree | b3d88922ca83a9ab23f903e1db4c40781f3137fe /src/company_cmd.cpp | |
parent | b19d0e0254883d0db9d8f3d01dacd94e0229f9ac (diff) | |
download | openttd-a10e5f707a4dd893b5cf80faa189f669291a4906.tar.xz |
(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.
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index 4fbcfe7c3..abecf2799 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -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(); |