mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-12 02:22:26 +01:00
Also fix vehicle track refs for good measure
This commit is contained in:
@@ -1674,7 +1674,7 @@ template<> void S6Importer::ImportEntity<Vehicle>(const RCT12SpriteBase& baseSrc
|
|||||||
dst->SetTrackType(src->GetTrackType());
|
dst->SetTrackType(src->GetTrackType());
|
||||||
// RotationControlToggle and Booster are saved as the same track piece ID
|
// RotationControlToggle and Booster are saved as the same track piece ID
|
||||||
// Which one the vehicle is using must be determined
|
// Which one the vehicle is using must be determined
|
||||||
if (GetRideTypeDescriptor(ride.type).HasFlag(RIDE_TYPE_FLAG_FLAT_RIDE))
|
if (_isFlatRide[src->ride])
|
||||||
{
|
{
|
||||||
dst->SetTrackType(RCT12FlatTrackTypeToOpenRCT2(src->GetTrackType()));
|
dst->SetTrackType(RCT12FlatTrackTypeToOpenRCT2(src->GetTrackType()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user