diff options
author | peter1138 <peter1138@openttd.org> | 2006-02-18 14:11:23 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-02-18 14:11:23 +0000 |
commit | 6cfefdb2750d9beccb350ea47db9e2edaa61655c (patch) | |
tree | 472160528d13b96f762e1c4fbef14b3176941371 /station.h | |
parent | 9ed8143264e5b7944bf2f6a8be3fafc359edd9bd (diff) | |
download | openttd-6cfefdb2750d9beccb350ea47db9e2edaa61655c.tar.xz |
(svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT.
Diffstat (limited to 'station.h')
-rw-r--r-- | station.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -28,7 +28,6 @@ typedef enum RoadStopType { enum { INVALID_STATION = 0xFFFF, - INVALID_SLOT = 0xFFFF, NUM_SLOTS = 2, ROAD_STOP_LIMIT = 8, }; @@ -40,7 +39,7 @@ typedef struct RoadStop { bool used; byte status; uint32 index; - uint16 slot[NUM_SLOTS]; + VehicleID slot[NUM_SLOTS]; StationID station; uint8 type; struct RoadStop *next; |