From f35ed4bbc2b05f1b83476b60948d64375f77f1b4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Jan 2007 18:56:51 +0000 Subject: (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. --- src/station.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/station.h') diff --git a/src/station.h b/src/station.h index aaa168384..4e2bebc9a 100644 --- a/src/station.h +++ b/src/station.h @@ -26,10 +26,11 @@ typedef enum RoadStopType { } RoadStopType; enum { - INVALID_STATION = 0xFFFF, ROAD_STOP_LIMIT = 16, }; +static const StationID INVALID_STATION = 0xFFFF; + typedef struct RoadStop { TileIndex xy; bool used; @@ -64,7 +65,7 @@ struct Station { byte time_since_load; byte time_since_unload; byte delete_ctr; - PlayerID owner; + PlayerByte owner; byte facilities; byte airport_type; -- cgit v1.2.3-54-g00ecf