mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Change RTD flags to a strong enum
This commit is contained in:
committed by
GitHub
parent
da8a049b81
commit
47800cddcf
@@ -305,7 +305,7 @@ StringId RideSetSettingAction::GetOperationErrorMessage(const Ride& ride) const
|
||||
case RideMode::BackwardRotation:
|
||||
return STR_CANT_CHANGE_NUMBER_OF_ROTATIONS;
|
||||
default:
|
||||
if (ride.GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_NO_VEHICLES))
|
||||
if (ride.GetRideTypeDescriptor().HasFlag(RtdFlag::noVehicles))
|
||||
{
|
||||
return STR_CANT_CHANGE_THIS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user