diff --git a/station_map.h b/station_map.h --- a/station_map.h +++ b/station_map.h @@ -223,6 +223,12 @@ static inline uint GetCustomStationSprit return _m[t].m4; } +static inline byte GetStationGfx(TileIndex t) +{ + assert(IsTileType(t, MP_STATION)); + return _m[t].m5; +} + static inline void MakeStation(TileIndex t, Owner o, StationID sid, byte m5) {