1
0
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:
Gymnasiast
2020-04-30 12:58:20 +02:00
parent 505ac0f1a0
commit 6cdee9db93
8 changed files with 58 additions and 69 deletions

View File

@@ -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;