(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.

This commit is contained in:
Darkvater
2006-03-26 22:55:27 +00:00
parent 2ba792d644
commit 2c27f45cdc
7 changed files with 11 additions and 12 deletions

View File

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