mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Always return an RTD
This commit is contained in:
@@ -7332,6 +7332,9 @@ uint64_t Ride::GetAvailableModes() const
|
||||
|
||||
const RideTypeDescriptor& Ride::GetRideTypeDescriptor() const
|
||||
{
|
||||
if (type >= std::size(RideTypeDescriptors))
|
||||
return DummyRTD;
|
||||
|
||||
return RideTypeDescriptors[type];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user