summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-27 18:18:44 +0000
committertruelight <truelight@openttd.org>2004-12-27 18:18:44 +0000
commit8dcbf2675b784ac3a060c046c10dc393c52f2772 (patch)
tree1bdcb08fe5cc2a1ad68d905888ce36d7f3a7cc14 /command.c
parent96b36ec01eda43cd8e4efedaf8e9249e9597403f (diff)
downloadopenttd-8dcbf2675b784ac3a060c046c10dc393c52f2772.tar.xz
(svn r1283) -Add: AutoRenew is now a client-side patch instead of a game-side patch
Note: this is the first commit that breaks compatibility with 0.3.5! -Fix: Bufferoverflow with autorenew_money. It is now a 32-bit integer.
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.c b/command.c
index 756c5dda2..4006848be 100644
--- a/command.c
+++ b/command.c
@@ -167,6 +167,8 @@ DEF_COMMAND(CmdStartScenario);
DEF_COMMAND(CmdBuildManySignals);
+DEF_COMMAND(CmdRenewVehicle);
+
/* The master command table */
static CommandProc * const _command_proc_table[] = {
CmdBuildRailroadTrack, /* 0 */
@@ -307,6 +309,7 @@ static CommandProc * const _command_proc_table[] = {
CmdDestroyCompanyHQ, /* 111 */
CmdGiveMoney, /* 112 */
CmdChangePatchSetting, /* 113 */
+ CmdRenewVehicle, /* 114 */
};
int32 DoCommandByTile(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc)