mirror of https://github.com/OpenRCT2/OpenRCT2.git
Don't try setting null ride type as invented
This commit is contained in:
parent
4732afa315
commit
441b7ebe71
|
@ -940,7 +940,11 @@ void research_fix()
|
|||
|
||||
for (uint8 j = 0; j < MAX_RIDE_TYPES_PER_RIDE_ENTRY; j++)
|
||||
{
|
||||
ride_type_set_invented(rideEntry->ride_type[j]);
|
||||
uint32 rideType = rideEntry->ride_type[j];
|
||||
if (rideType != RIDE_TYPE_NULL)
|
||||
{
|
||||
ride_type_set_invented(rideEntry->ride_type[j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue