forked from mirror/OpenTTD
(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.
This commit is contained in:
4
order.h
4
order.h
@@ -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;
|
||||
|
Reference in New Issue
Block a user