mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Fix #18963: Too many items available in some RCT1 scenarios
This commit is contained in:
@@ -451,8 +451,7 @@ namespace RCT1
|
||||
break;
|
||||
case RCT1_RESEARCH_TYPE_VEHICLE:
|
||||
// For some bizarre reason, RCT1 research lists contain vehicles that aren't actually researched.
|
||||
// Extra bizarrely, this does not seem to apply to Loopy Landscapes saves/scenarios.
|
||||
if (rideTypeInResearch[researchItem->RelatedRide] || _gameVersion == FILE_VERSION_RCT1_LL)
|
||||
if (rideTypeInResearch[researchItem->RelatedRide])
|
||||
{
|
||||
AddEntryForVehicleType(static_cast<RideType>(researchItem->RelatedRide), researchItem->Item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user