Merge pull request #13286 from tupaschoal/research-refactor

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

No files matched your search

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