diff options
author | truelight <truelight@openttd.org> | 2006-08-26 17:12:24 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-26 17:12:24 +0000 |
commit | 39ae8d29e1ad70a40a19722469e7cb3a7a1c44a0 (patch) | |
tree | c510a10f752fba5589b5b66dd0d0cfa67fb0b6bf /order.h | |
parent | 5dc121d1c1b73261de4877896173b7b4d01e764f (diff) | |
download | openttd-39ae8d29e1ad70a40a19722469e7cb3a7a1c44a0.tar.xz |
(svn r6144) -Codechange: renamed OrderID to VehicleOrderID, because it had nothing to do
with the Order-pool, but with the place of the order within the vehicle-order
(hence its name) (part of FS#13, blathijs)
Diffstat (limited to 'order.h')
-rw-r--r-- | order.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -89,7 +89,7 @@ typedef struct Order { typedef struct { VehicleID clone; - OrderID orderindex; + VehicleOrderID orderindex; Order order[MAX_BACKUP_ORDER_COUNT + 1]; uint16 service_interval; char name[32]; @@ -116,7 +116,7 @@ static inline uint16 GetOrderPoolSize(void) return _order_pool.total_items; } -static inline OrderID GetOrderArraySize(void) +static inline VehicleOrderID GetOrderArraySize(void) { /* TODO - This isn't the real content of the function, but * with the new pool-system this will be replaced with one that |