mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Change RTD flags to a strong enum
This commit is contained in:
committed by
GitHub
parent
da8a049b81
commit
47800cddcf
@@ -151,7 +151,7 @@ public:
|
||||
{
|
||||
const ObjectRepositoryItem* ori = repo.FindObjectLegacy(item.ObjectEntry.c_str());
|
||||
|
||||
if (ori == nullptr || !GetRideTypeDescriptor(rideType).HasFlag(RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY))
|
||||
if (ori == nullptr || !GetRideTypeDescriptor(rideType).HasFlag(RtdFlag::listVehiclesSeparately))
|
||||
entryIsNotSeparate = true;
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ public:
|
||||
{
|
||||
const ObjectRepositoryItem* ori = repo.FindObjectLegacy(item.ObjectEntry.c_str());
|
||||
|
||||
if (ori == nullptr || !GetRideTypeDescriptor(rideType).HasFlag(RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY))
|
||||
if (ori == nullptr || !GetRideTypeDescriptor(rideType).HasFlag(RtdFlag::listVehiclesSeparately))
|
||||
entryIsNotSeparate = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user