diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-12 23:46:01 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-12 23:46:01 +0000 |
commit | 033995ec6ecd443404fa1a236c6763ddc9cce321 (patch) | |
tree | dde69a1afcdeffecc49a408ef9164ad83781a82f /order.h | |
parent | 56e7e4cf25929feefc4586dc3ffe1f4471bbdef1 (diff) | |
download | openttd-033995ec6ecd443404fa1a236c6763ddc9cce321.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 'order.h')
-rw-r--r-- | order.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ static inline Order UnpackOrder(uint32 packed) } /* Functions */ -void BackupVehicleOrders(Vehicle *v, BackuppedOrders *order); +void BackupVehicleOrders(const Vehicle *v, BackuppedOrders *order); void RestoreVehicleOrders(Vehicle *v, BackuppedOrders *order); void DeleteDestinationFromVehicleOrder(Order dest); void InvalidateVehicleOrder(const Vehicle *v); |