Skip to content

Commit c15333e

Browse files
committed
Fix edge case with 1 axle rail vehicles
1 parent a6cbc52 commit c15333e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2718,7 +2718,7 @@ public void SetUpWheels()
27182718
var carIndex = Train.Cars.IndexOf(this);
27192719
//Certain locomotives are testing as articulated wagons for some reason.
27202720
if (WagonType != WagonTypes.Engine)
2721-
if (articulatedFront || articulatedRear)
2721+
if (WheelAxles.Count != 1 && (articulatedFront || articulatedRear))
27222722
{
27232723
WheelAxlesLoaded = true;
27242724
SetUpWheelsArticulation(carIndex);

0 commit comments

Comments
 (0)