mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Move category to RTD; move RideTypeIsIndependent to a flag
This commit is contained in:
@@ -166,7 +166,7 @@ public:
|
||||
{
|
||||
const ObjectRepositoryItem* ori = repo.FindObject(item.ObjectEntry.c_str());
|
||||
|
||||
if (ori == nullptr || !RideGroupManager::RideTypeIsIndependent(rideType))
|
||||
if (ori == nullptr || !RideTypeDescriptors[rideType].HasFlag(RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY))
|
||||
entryIsNotSeparate = true;
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ public:
|
||||
{
|
||||
const ObjectRepositoryItem* ori = repo.FindObject(item.ObjectEntry.c_str());
|
||||
|
||||
if (ori == nullptr || !RideGroupManager::RideTypeIsIndependent(rideType))
|
||||
if (ori == nullptr || !RideTypeDescriptors[rideType].HasFlag(RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY))
|
||||
entryIsNotSeparate = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user