diff options
author | peter1138 <peter1138@openttd.org> | 2006-09-28 07:02:55 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-09-28 07:02:55 +0000 |
commit | 2df539e30d548d33a2a2acde4b1e68e5fe4d1c99 (patch) | |
tree | a63f553b649fb31388f6f320469902d1aae5424b /openttd.c | |
parent | a946e2cab282fffb4ea74d9514a06ad22df2adbe (diff) | |
download | openttd-2df539e30d548d33a2a2acde4b1e68e5fe4d1c99.tar.xz |
(svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |