(svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT.

This commit is contained in:
peter1138
2006-02-18 14:11:23 +00:00
parent 3161c5973e
commit 95ce125633
4 changed files with 11 additions and 12 deletions

View File

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