mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Fix #7006: Use RTDs for determining ride category
This commit is contained in:
@@ -1094,7 +1094,8 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
|
||||
for (int32_t j = 0; j < MAX_RIDE_TYPES_PER_RIDE_ENTRY; j++)
|
||||
{
|
||||
rideType = rideEntry->ride_type[j];
|
||||
research_insert_ride_entry(rideType, groupIndex, rideEntry->category[0], true);
|
||||
uint8_t category = RideTypeDescriptors[rideType].Category;
|
||||
research_insert_ride_entry(rideType, groupIndex, category, true);
|
||||
}
|
||||
|
||||
gSilentResearch = true;
|
||||
|
||||
Reference in New Issue
Block a user