forked from rosebudai/OpenRCT2-Web
Fix #12353: Research window shows wrong ride type
This commit is contained in:
1 parent
4a235e3bb6
commit
f567da04eb
1 file changed
+1
-1
@@ -105,7 +105,7 @@ struct ResearchItem
|
||||
{
|
||||
entryIndex = RCTEntryIndexToOpenRCT2EntryIndex(oldResearchItem.entryIndex);
|
||||
auto* rideEntry = get_ride_entry(entryIndex);
|
||||
baseRideType = rideEntry != nullptr ? RCT2RideTypeToOpenRCT2RideType(oldResearchItem.type, rideEntry)
|
||||
baseRideType = rideEntry != nullptr ? RCT2RideTypeToOpenRCT2RideType(oldResearchItem.baseRideType, rideEntry)
|
||||
: oldResearchItem.baseRideType;
|
||||
type = Research::EntryType{ oldResearchItem.type };
|
||||
flags = oldResearchItem.flags;
|
||||
|
||||
Reference in new issue
Block a user