summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-05-12 22:32:22 +0000
committeryexo <yexo@openttd.org>2009-05-12 22:32:22 +0000
commit90ba8e1bc83b6b5fd0477ce962675e81d072df4c (patch)
tree0cc176d684aebad1695f8a1a41feb3a0d62f7825 /src/company_cmd.cpp
parent095a30efb07f72f5738d35b9a5988e5f103ab5c5 (diff)
downloadopenttd-90ba8e1bc83b6b5fd0477ce962675e81d072df4c.tar.xz
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 2dfcb9f83..bd62c2e5e 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -445,13 +445,6 @@ Company *DoStartupNewCompany(bool is_ai)
c->inaugurated_year = _cur_year;
RandomCompanyManagerFaceBits(c->face, (GenderEthnicity)Random(), false); // create a random company manager face
- /* Engine renewal settings */
- c->engine_renew_list = NULL;
- c->renew_keep_length = false;
- c->engine_renew = _settings_client.gui.autorenew;
- c->engine_renew_months = _settings_client.gui.autorenew_months;
- c->engine_renew_money = _settings_client.gui.autorenew_money;
-
GeneratePresidentName(c);
InvalidateWindow(WC_GRAPH_LEGEND, 0);