summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-26 17:12:24 +0000
committertruelight <truelight@openttd.org>2006-08-26 17:12:24 +0000
commitb17d389667891df6a30cd29acae5405eb27d895e (patch)
treec510a10f752fba5589b5b66dd0d0cfa67fb0b6bf /vehicle.h
parent8358832f4a81063827caf503c5a7d7ff1b62e77a (diff)
downloadopenttd-b17d389667891df6a30cd29acae5405eb27d895e.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 'vehicle.h')
-rw-r--r--vehicle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vehicle.h b/vehicle.h
index c02a319fd..694caba50 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -190,10 +190,10 @@ struct Vehicle {
/* Begin Order-stuff */
Order current_order; ///< The current order (+ status, like: loading)
- OrderID cur_order_index; ///< The index to the current order
+ VehicleOrderID cur_order_index; ///< The index to the current order
Order *orders; ///< Pointer to the first order for this vehicle
- OrderID num_orders; ///< How many orders there are in the list
+ VehicleOrderID num_orders; ///< How many orders there are in the list
Vehicle *next_shared; ///< If not NULL, this points to the next vehicle that shared the order
Vehicle *prev_shared; ///< If not NULL, this points to the prev vehicle that shared the order