summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-28 14:17:08 +0000
committerbjarni <bjarni@openttd.org>2006-09-28 14:17:08 +0000
commit371f080182268bead1552610d4d3271661d296d9 (patch)
tree4e5a1a7743dd3215de81daac65567a30373f6ef6 /command.c
parentf469d3fe76f1a2384f3f4508e23677db37d8f0b7 (diff)
downloadopenttd-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.c b/command.c
index 30b042249..f08565e01 100644
--- a/command.c
+++ b/command.c
@@ -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 */