We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc86323 commit a6cbc52Copy full SHA for a6cbc52
Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs
@@ -2718,12 +2718,11 @@ public void SetUpWheels()
2718
var carIndex = Train.Cars.IndexOf(this);
2719
//Certain locomotives are testing as articulated wagons for some reason.
2720
if (WagonType != WagonTypes.Engine)
2721
- if (WheelAxles.Count >= 2)
2722
- if (articulatedFront || articulatedRear)
2723
- {
2724
- WheelAxlesLoaded = true;
2725
- SetUpWheelsArticulation(carIndex);
2726
- }
+ if (articulatedFront || articulatedRear)
+ {
+ WheelAxlesLoaded = true;
+ SetUpWheelsArticulation(carIndex);
+ }
2727
} // end SetUpWheels()
2728
2729
protected void SetUpWheelsArticulation(int carIndex)
0 commit comments