From 95ce125633734ced1cfc1de45034b51a26fc94cc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 18 Feb 2006 14:11:23 +0000 Subject: (svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT. --- station.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'station.h') diff --git a/station.h b/station.h index ca5d6c20e..53f6de5e2 100644 --- a/station.h +++ b/station.h @@ -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; -- cgit v1.2.3-54-g00ecf