diff options
author | maedhros <maedhros@openttd.org> | 2007-06-25 20:55:43 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-06-25 20:55:43 +0000 |
commit | 4af9ca5335903e72dfbc13fb00be4d747302560b (patch) | |
tree | 4840bc321f282360404faa91242a640971fe700a /src/command.cpp | |
parent | 2fce0506a6e898afe1045c59e4772a04011e29ab (diff) | |
download | openttd-4af9ca5335903e72dfbc13fb00be4d747302560b.tar.xz |
(svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
the times from the first (or subsequent) run-throughs.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index 3aa93777c..9c0a714ee 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -179,6 +179,7 @@ DEF_COMMAND(CmdSetGroupReplaceProtection); DEF_COMMAND(CmdMoveOrder); DEF_COMMAND(CmdChangeTimetable); DEF_COMMAND(CmdSetVehicleOnTime); +DEF_COMMAND(CmdAutofillTimetable); /* The master command table */ static const Command _command_proc_table[] = { @@ -335,6 +336,7 @@ static const Command _command_proc_table[] = { {CmdMoveOrder, 0}, /* 127 */ {CmdChangeTimetable, 0}, /* 128 */ {CmdSetVehicleOnTime, 0}, /* 129 */ + {CmdAutofillTimetable, 0}, /* 130 */ }; /* This function range-checks a cmd, and checks if the cmd is not NULL */ |