1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +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

@@ -366,7 +366,7 @@ static Widget _trackPlaceWidgets[] = {
}
const auto& rtd = GetRideTypeDescriptor(td.trackAndVehicle.rtdIndex);
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_MAZE))
if (rtd.HasFlag(RtdFlag::isMaze))
{
DrawMiniPreviewMaze(td, pass, origin, min, max);
}