forked from rosebudai/OpenRCT2-Web
Replace ride_type_has_flag() with retrieving RTD
This commit is contained in:
20 files changed
+37
-51
No files matched your search
@@ -60,7 +60,7 @@ static void setup_track_manager_objects()
|
||||
|
||||
for (auto rideType : item->RideInfo.RideType)
|
||||
{
|
||||
if (rideType != RIDE_TYPE_NULL && ride_type_has_flag(rideType, RIDE_TYPE_FLAG_HAS_TRACK))
|
||||
if (GetRideTypeDescriptor(rideType).HasFlag(RIDE_TYPE_FLAG_HAS_TRACK))
|
||||
{
|
||||
*selectionFlags &= ~OBJECT_SELECTION_FLAG_6;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user