summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-05-15 23:55:06 +0000
committeryexo <yexo@openttd.org>2009-05-15 23:55:06 +0000
commit31eff1d4c30803e09083320886630da8b28690d1 (patch)
treeb8c0c563425389a5e9514760bb5e1cc9cf0013c1 /src/settings.cpp
parentaea2fcd0a09fa47caf022934ba8029ec327906f7 (diff)
downloadopenttd-31eff1d4c30803e09083320886630da8b28690d1.tar.xz
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index cae88d189..83db910ce 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -726,19 +726,19 @@ static bool CheckInterval(int32 p1)
static bool EngineRenewUpdate(int32 p1)
{
- DoCommandP(0, 0, _settings_client.gui.autorenew, CMD_SET_AUTOREPLACE);
+ DoCommandP(0, 0, _settings_client.company.engine_renew, CMD_SET_AUTOREPLACE);
return true;
}
static bool EngineRenewMonthsUpdate(int32 p1)
{
- DoCommandP(0, 1, _settings_client.gui.autorenew_months, CMD_SET_AUTOREPLACE);
+ DoCommandP(0, 1, _settings_client.company.engine_renew_months, CMD_SET_AUTOREPLACE);
return true;
}
static bool EngineRenewMoneyUpdate(int32 p1)
{
- DoCommandP(0, 2, _settings_client.gui.autorenew_money, CMD_SET_AUTOREPLACE);
+ DoCommandP(0, 2, _settings_client.company.engine_renew_money, CMD_SET_AUTOREPLACE);
return true;
}