forked from rosebudai/OpenRCT2-Web
Use ride_type_t instead of uint8_t in more places (#17803)
Part of preparation for making ride types into objects.
This commit is contained in:
1 parent
6aabe38590
commit
d9e23e9dfa
32 files changed
+64
-63
No files matched your search
@@ -1227,13 +1227,12 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
|
||||
{
|
||||
// Automatically research the ride so it's supported by the game.
|
||||
rct_ride_entry* rideEntry;
|
||||
int32_t rideType;
|
||||
|
||||
rideEntry = get_ride_entry(groupIndex);
|
||||
|
||||
for (int32_t j = 0; j < RCT2::ObjectLimits::MaxRideTypesPerRideEntry; j++)
|
||||
{
|
||||
rideType = rideEntry->ride_type[j];
|
||||
auto rideType = rideEntry->ride_type[j];
|
||||
if (rideType != RIDE_TYPE_NULL)
|
||||
{
|
||||
ResearchCategory category = GetRideTypeDescriptor(rideType).GetResearchCategory();
|
||||
|
||||
Reference in new issue
Block a user