summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-18 14:11:23 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-18 14:11:23 +0000
commit95ce125633734ced1cfc1de45034b51a26fc94cc (patch)
tree472160528d13b96f762e1c4fbef14b3176941371 /station.h
parent3161c5973e49504dd078298a0da6097ae3cc9584 (diff)
downloadopenttd-95ce125633734ced1cfc1de45034b51a26fc94cc.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.h3
1 files changed, 1 insertions, 2 deletions
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;