forked from rosebudai/OpenRCT2-Web
Always return an RTD
This commit is contained in:
1 file changed
+3
@@ -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