From f469d3fe76f1a2384f3f4508e23677db37d8f0b7 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 28 Sep 2006 07:02:55 +0000 Subject: (svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does. --- openttd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openttd.c') diff --git a/openttd.c b/openttd.c index e48da751f..eb54886cd 100644 --- a/openttd.c +++ b/openttd.c @@ -606,7 +606,7 @@ static void MakeNewGameDone(void) _local_player = 0; _current_player = _local_player; - DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_REPLACE_VEHICLE); + DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE); MarkWholeScreenDirty(); } @@ -681,7 +681,7 @@ static void StartScenario(void) _local_player = 0; _current_player = _local_player; - DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_REPLACE_VEHICLE); + DoCommandP(0, (_patches.autorenew << 15 ) | (_patches.autorenew_months << 16) | 4, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE); MarkWholeScreenDirty(); } -- cgit v1.2.3-70-g09d2