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.
2 parents d7b38a5 + c15333e commit 782e611Copy full SHA for 782e611
Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs
@@ -2735,12 +2735,11 @@ public void SetUpWheels()
2735
var carIndex = Train.Cars.IndexOf(this);
2736
//Certain locomotives are testing as articulated wagons for some reason.
2737
if (WagonType != WagonTypes.Engine)
2738
- if (WheelAxles.Count >= 2)
2739
- if (articulatedFront || articulatedRear)
2740
- {
2741
- WheelAxlesLoaded = true;
2742
- SetUpWheelsArticulation(carIndex);
2743
- }
+ if (WheelAxles.Count != 1 && (articulatedFront || articulatedRear))
+ {
+ WheelAxlesLoaded = true;
+ SetUpWheelsArticulation(carIndex);
+ }
2744
} // end SetUpWheels()
2745
2746
protected void SetUpWheelsArticulation(int carIndex)
0 commit comments