Skip to content

Commit

Permalink
Fix OpenRCT2#18963: Too many items available in some RCT1 scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Feb 8, 2024
1 parent 8e64eac commit c40a840
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/openrct2/rct1/S4Importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c40a840

Please sign in to comment.