From 7470322a3d0fd1d37ab95ba4625e3bed2ad22f84 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 14 May 2005 12:36:16 +0000 Subject: (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks" --- command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'command.c') diff --git a/command.c b/command.c index 67fbb05f0..7eae3c4fd 100644 --- a/command.c +++ b/command.c @@ -229,7 +229,7 @@ static CommandProc * const _command_proc_table[] = { CmdBuildAircraft, /* 61 */ CmdSendAircraftToHangar, /* 62 */ CmdChangeAircraftServiceInt, /* 63 */ - CmdRefitAircraft, /* 64 <-- REFIT: Hackykid */ + CmdRefitAircraft, /* 64 */ CmdPlaceSign, /* 65 */ CmdRenameSign, /* 66 */ @@ -263,7 +263,7 @@ static CommandProc * const _command_proc_table[] = { CmdBuildShip, /* 88 */ CmdSendShipToDepot, /* 89 */ CmdChangeShipServiceInt, /* 90 */ - CmdRefitShip, /* 91 <-- REFIT: Hackykid */ + CmdRefitShip, /* 91 */ NULL, /* 92 */ NULL, /* 93 */ @@ -284,7 +284,7 @@ static CommandProc * const _command_proc_table[] = { CmdLevelLand, /* 105 */ - CmdRefitRailVehicle, /* 106 <-- REFIT: Hackykid */ + CmdRefitRailVehicle, /* 106 */ CmdRestoreOrderIndex, /* 107 */ CmdBuildLock, /* 108 */ NULL, /* 109 */ -- cgit v1.2.3-54-g00ecf