summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-28 07:02:55 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-28 07:02:55 +0000
commit2df539e30d548d33a2a2acde4b1e68e5fe4d1c99 (patch)
treea63f553b649fb31388f6f320469902d1aae5424b /settings.c
parenta946e2cab282fffb4ea74d9514a06ad22df2adbe (diff)
downloadopenttd-2df539e30d548d33a2a2acde4b1e68e5fe4d1c99.tar.xz
(svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings.c b/settings.c
index 98dd32036..0b77381cb 100644
--- a/settings.c
+++ b/settings.c
@@ -1123,19 +1123,19 @@ static int32 CheckInterval(int32 p1)
static int32 EngineRenewUpdate(int32 p1)
{
- DoCommandP(0, 0, _patches.autorenew, NULL, CMD_REPLACE_VEHICLE);
+ DoCommandP(0, 0, _patches.autorenew, NULL, CMD_SET_AUTOREPLACE);
return 0;
}
static int32 EngineRenewMonthsUpdate(int32 p1)
{
- DoCommandP(0, 1, _patches.autorenew_months, NULL, CMD_REPLACE_VEHICLE);
+ DoCommandP(0, 1, _patches.autorenew_months, NULL, CMD_SET_AUTOREPLACE);
return 0;
}
static int32 EngineRenewMoneyUpdate(int32 p1)
{
- DoCommandP(0, 2, _patches.autorenew_money, NULL, CMD_REPLACE_VEHICLE);
+ DoCommandP(0, 2, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE);
return 0;
}
/* End - Callback Functions */