diff options
author | bjarni <bjarni@openttd.org> | 2006-09-28 14:17:08 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-28 14:17:08 +0000 |
commit | 371f080182268bead1552610d4d3271661d296d9 (patch) | |
tree | 4e5a1a7743dd3215de81daac65567a30373f6ef6 /command.c | |
parent | f469d3fe76f1a2384f3f4508e23677db37d8f0b7 (diff) | |
download | openttd-371f080182268bead1552610d4d3271661d296d9.tar.xz |
(svn r6552) -Feature: [depot window] added a "autoreplace all vehicles in depot" button
Like the "sell all" button, this one lacks a sprite as well. We will hopefully get one shortly
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -161,6 +161,7 @@ DEF_COMMAND(CmdSetAutoReplace); DEF_COMMAND(CmdCloneVehicle); DEF_COMMAND(CmdMassStartStopVehicle); DEF_COMMAND(CmdDepotSellAllVehicles); +DEF_COMMAND(CmdDepotMassAutoReplace); /* The master command table */ @@ -307,6 +308,7 @@ static const Command _command_proc_table[] = { {CmdCloneVehicle, 0}, /* 116 */ {CmdMassStartStopVehicle, 0}, /* 117 */ {CmdDepotSellAllVehicles, 0}, /* 118 */ + {CmdDepotMassAutoReplace, 0}, /* 119 */ }; /* This function range-checks a cmd, and checks if the cmd is not NULL */ |