File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Source/Contrib/ContentManager/Models Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ public Car(Content content)
100
100
// this is not always correct as TrainCar uses the WheelAxles array for the count; that is too complex to do here
101
101
if ( SubType . Equals ( "Steam" ) && NumDriveAxles >= ( NumDriveAxles + NumIdleAxles ) ) { NumDriveAxles /= 2 ; }
102
102
103
+ // see TrainCar.UpdateTrainDerailmentRisk(), ~ line 1609
103
104
NumAllAxles = NumDriveAxles + NumIdleAxles ;
104
105
105
106
// see TrainCar.UpdateTrainDerailmentRisk()
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ public Consist(Content content)
114
114
// this is not always correct as TrainCar uses the WheelAxles array for the count; that is too complex to do here
115
115
if ( subType . Equals ( "Steam" ) && numDriveAxles >= ( numDriveAxles + numIdleAxles ) ) { numDriveAxles /= 2 ; }
116
116
117
+ // see TrainCar.UpdateTrainDerailmentRisk(), ~ line 1609
117
118
numAllAxles = numDriveAxles + numIdleAxles ;
118
119
119
120
// exclude legacy EOT from total axle count
You can’t perform that action at this time.
0 commit comments