mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Change RTD flags to a strong enum
This commit is contained in:
committed by
GitHub
parent
da8a049b81
commit
47800cddcf
@@ -965,7 +965,7 @@ std::vector<VehicleColour> RideObject::ReadJsonColourConfiguration(json_t& jColo
|
||||
|
||||
bool RideObject::IsRideTypeShopOrFacility(ride_type_t rideType)
|
||||
{
|
||||
return GetRideTypeDescriptor(rideType).HasFlag(RIDE_TYPE_FLAG_IS_SHOP_OR_FACILITY);
|
||||
return GetRideTypeDescriptor(rideType).HasFlag(RtdFlag::isShopOrFacility);
|
||||
}
|
||||
|
||||
ride_type_t RideObject::ParseRideType(const std::string& s)
|
||||
|
||||
Reference in New Issue
Block a user