diff options
author | Darkvater <darkvater@openttd.org> | 2005-09-16 16:03:18 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-09-16 16:03:18 +0000 |
commit | c930f8f8c0c60e192e50db9a032e55ff671db131 (patch) | |
tree | f3163c8df242274577a2a6eb8c73a89224ad0e1a /order.h | |
parent | 4797310f91579b0cbf6cbce8a3ab85654d4d3f22 (diff) | |
download | openttd-c930f8f8c0c60e192e50db9a032e55ff671db131.tar.xz |
(svn r2959) - Fix: [ 1266036 ] Fix [ 1236317 ] Vehicles with and TRANSFER order don't have that order restored (i_dachev). Also disallow non-train type vehicles to have non-stop orders.
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -90,10 +90,12 @@ typedef struct Order { uint16 index; //! Index of the order, is not saved or anything, just for reference } Order; +#define MAX_BACKUP_ORDER_COUNT 40 + typedef struct { VehicleID clone; OrderID orderindex; - Order order[41]; + Order order[MAX_BACKUP_ORDER_COUNT + 1]; uint16 service_interval; char name[32]; } BackuppedOrders; |