summaryrefslogtreecommitdiff
path: root/src/station_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_type.h')
-rw-r--r--src/station_type.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/station_type.h b/src/station_type.h
index 42d64fcf8..48c1c343c 100644
--- a/src/station_type.h
+++ b/src/station_type.h
@@ -49,7 +49,7 @@ enum RoadStopType {
};
/** The facilities a station might be having */
-enum StationFacility {
+enum StationFacility : byte {
FACIL_NONE = 0, ///< The station has no facilities at all
FACIL_TRAIN = 1 << 0, ///< Station with train station
FACIL_TRUCK_STOP = 1 << 1, ///< Station with truck stops
@@ -59,7 +59,6 @@ enum StationFacility {
FACIL_WAYPOINT = 1 << 7, ///< Station is a waypoint
};
DECLARE_ENUM_AS_BIT_SET(StationFacility)
-typedef SimpleTinyEnumT<StationFacility, byte> StationFacilityByte;
/** The vehicles that may have visited a station */
enum StationHadVehicleOfType {