summaryrefslogtreecommitdiff
path: root/order.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-26 22:55:27 +0000
committerDarkvater <darkvater@openttd.org>2006-03-26 22:55:27 +0000
commit2c27f45cdc31c0466d72eb8d1539448b93af0d5b (patch)
tree5375ce61c67417cfbafdc80258742b527d4675c3 /order.h
parent2ba792d64447968bbd18c755a6e4d1720728c5ae (diff)
downloadopenttd-2c27f45cdc31c0466d72eb8d1539448b93af0d5b.tar.xz
(svn r4131) - CodeChange: Add proper semantics for StationID for such variables instead of using the general uint16-type. StationID was added for depots, waypoints and stations where necessary. We probably need to change GetDepot(), IsDepotIndex(), IsStationIndex(), GetWaypoint() and IsWaypointIndex() as well to use StationID.
Diffstat (limited to 'order.h')
-rw-r--r--order.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/order.h b/order.h
index dd387161b..35f0a4c26 100644
--- a/order.h
+++ b/order.h
@@ -78,7 +78,7 @@ enum {
typedef struct Order {
uint8 type;
uint8 flags;
- uint16 station;
+ StationID station;
struct Order *next; ///< Pointer to next order. If NULL, end of list