summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-12 23:46:01 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-12 23:46:01 +0000
commitddd4958164980954577fcca388ffeb455f3fc463 (patch)
treedde69a1afcdeffecc49a408ef9164ad83781a82f /vehicle.h
parent0727085b3b4f1fde705f307274ccf4d785a20854 (diff)
downloadopenttd-ddd4958164980954577fcca388ffeb455f3fc463.tar.xz
(svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands.
- CodeChange: remove cmd-misuses CmdStartScenario() and CmdDestroyCompanyHQ() - Fix (invisible): when parameter checking CmdRestoreOrderIndex() the vehicle did not have its orders yet, so it would fail. So move doing this until AFTER the orders have been added back in RestoreVehicleOrders()
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.h b/vehicle.h
index 6e8237296..a86a1ce37 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -55,7 +55,7 @@ typedef struct VehicleRail {
// NOSAVE: for wagon override - id of the first engine in train
// 0xffff == not in train
- uint16 first_engine;
+ EngineID first_engine;
byte track;
byte force_proceed;