Skip to content

Commit 8fe03b1

Browse files
committed
Make sure superelevation is transferred
1 parent 8c1d787 commit 8fe03b1

File tree

1 file changed

+1
-0
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks

1 file changed

+1
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3025,6 +3025,7 @@ public void ComputePosition(Traveller traveler, bool backToFront, float elapsedT
30253025
// Train car lacks sufficient parts to locate using linear regression
30263026
p0.Dir = Parts[1].Dir;
30273027
p0.Pos = Parts[1].Pos;
3028+
p0.Roll = Parts[1].Roll;
30283029
}
30293030
else
30303031
{

0 commit comments

Comments
 (0)