1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Merge pull request #13286 from tupaschoal/research-refactor

Small research releated refactor
This commit is contained in:
Michael Steenbeek
2020-11-07 20:18:18 +01:00
committed by GitHub
10 changed files with 101 additions and 51 deletions

View File

@@ -1087,7 +1087,7 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
rideType = rideEntry->ride_type[j];
if (rideType != RIDE_TYPE_NULL)
{
uint8_t category = RideTypeDescriptors[rideType].Category;
ResearchCategory category = RideTypeDescriptors[rideType].GetResearchCategory();
research_insert_ride_entry(rideType, groupIndex, category, true);
}
}