mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Add RtdSpecialType to replace checks for maze and other naughty types
This commit is contained in:
@@ -239,9 +239,9 @@ namespace OpenRCT2::Ui::Windows
|
||||
}
|
||||
|
||||
const auto& rtd = GetRideTypeDescriptor(td.trackAndVehicle.rtdIndex);
|
||||
if (!rtd.HasFlag(RtdFlag::isMaze))
|
||||
if (rtd.specialType != RtdSpecialType::maze)
|
||||
{
|
||||
if (td.trackAndVehicle.rtdIndex == RIDE_TYPE_MINI_GOLF)
|
||||
if (rtd.specialType == RtdSpecialType::miniGolf)
|
||||
{
|
||||
// Holes
|
||||
auto ft = Formatter();
|
||||
|
||||
Reference in New Issue
Block a user