Fix #7006: Use RTDs for determining ride category

This commit is contained in:
Gymnasiast committed 2020-04-30 12:59:18 +02:00
1 parent 505ac0f1a0
commit 6cdee9db93
8 files changed
+58 -69

No files matched your search

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