(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)
This commit is contained in:
truelight
2006-08-26 17:12:24 +00:00
parent 5dc121d1c1
commit 39ae8d29e1
4 changed files with 10 additions and 10 deletions

View File

@@ -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