Codechange: Remove StationHadVehicleOfTypeByte type

This commit is contained in:
Charles Pigott
2019-04-21 23:13:27 +01:00
committed by PeterN
parent fb6ae81415
commit 119ea7a195
2 changed files with 2 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ enum StationFacility : byte {
DECLARE_ENUM_AS_BIT_SET(StationFacility)
/** The vehicles that may have visited a station */
enum StationHadVehicleOfType {
enum StationHadVehicleOfType : byte {
HVOT_NONE = 0, ///< Station has seen no vehicles
HVOT_TRAIN = 1 << 1, ///< Station has seen a train
HVOT_BUS = 1 << 2, ///< Station has seen a bus
@@ -72,7 +72,6 @@ enum StationHadVehicleOfType {
HVOT_WAYPOINT = 1 << 6, ///< Station is a waypoint (NewGRF only!)
};
DECLARE_ENUM_AS_BIT_SET(StationHadVehicleOfType)
typedef SimpleTinyEnumT<StationHadVehicleOfType, byte> StationHadVehicleOfTypeByte;
/** The different catchment areas used */
enum CatchmentArea {