Skip to content

Commit 862e809

Browse files
committed
Automatic merge of T1.5.1-372-g5db5c7824 and 11 pull requests
- Pull request #570 at de7a14f: Experimental glTF 2.0 support with PBR lighting - Pull request #732 at 22f66dc: Improvements for air brakes - Pull request #751 at 00981a2: Web interface to control cab controls with external hardware - Pull request #799 at dc03850: Consolidated wind simulation - Pull request #802 at 4d198e4: Added support for activity location events to the TrackViewer - Pull request #803 at 7157e08: Various adjustments to steam adhesion - Pull request #813 at 001e285: Refactored garbage generators - Pull request #815 at a5cc165: chore: Add GitHub automatic release notes configuration - Pull request #816 at eae646d: Bug fix for https://bugs.launchpad.net/or/+bug/2014992 EOT can't be dismounted after train reversal - Pull request #818 at 1a709aa: Allow independent drive axles for locomotives - Pull request #819 at 51b98b2: Headlight switch makes sound when not appropriate
13 parents 10b1638 + 5db5c78 + de7a14f + 22f66dc + 00981a2 + dc03850 + 4d198e4 + 7157e08 + 001e285 + a5cc165 + eae646d + 1a709aa + 51b98b2 commit 862e809

File tree

1 file changed

+2
-6
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions

1 file changed

+2
-6
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions/Axle.cs

+2-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public enum AxleDriveType
5050
/// Sums individual axle values to create a total value
5151
/// </summary>
5252

53-
public class Axles : IEnumerable<Axle>, ISubSystem<Axles>
53+
public class Axles : ISubSystem<Axles>
5454
{
5555
/// <summary>
5656
/// List of axles
@@ -249,11 +249,7 @@ public void Update(float elapsedClockSeconds)
249249
axle.Update(elapsedClockSeconds);
250250
}
251251
}
252-
IEnumerator IEnumerable.GetEnumerator()
253-
{
254-
return AxleList.GetEnumerator();
255-
}
256-
IEnumerator<Axle> IEnumerable<Axle>.GetEnumerator()
252+
public List<Axle>.Enumerator GetEnumerator()
257253
{
258254
return AxleList.GetEnumerator();
259255
}

0 commit comments

Comments
 (0)