1
0
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:
Michael Steenbeek
2024-08-13 22:20:25 +02:00
committed by GitHub
parent da8a049b81
commit 47800cddcf
140 changed files with 795 additions and 789 deletions

View File

@@ -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;
}