Skip to content

Commit 8bdde67

Browse files
author
Chris Jakeman
committed
Restore stray comment
1 parent e427417 commit 8bdde67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Orts.Simulation/Common/Events.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ public static Event From(bool mstsBinEnabled, Source source, int eventID)
301301
// MSTSBin codes 23, 24 (documented at http://mstsbin.uktrainsim.com/)
302302
case 23: return Event.EnginePowerOn;
303303
case 24: return Event.EnginePowerOff;
304+
// Event 25 is possibly a vigilance reset in MSTS sound files but is never used.
304305
// Event 26 is a sander toggle in MSTS sound files but is never used.
305306
case 27: return Event.WaterInjector2On;
306307
case 28: return Event.WaterInjector2Off;
@@ -342,7 +343,7 @@ public static Event From(bool mstsBinEnabled, Source source, int eventID)
342343
// Event 64 is unused in MSTS.
343344
// MSTSBin codes 66, 67 (documented at http://mstsbin.uktrainsim.com/)
344345
case 66: return Event.Pantograph2Up;
345-
case 67: return Event.Pantograph2Down; // Event 25 is possibly a vigilance reset in MSTS sound files but is never used.
346+
case 67: return Event.Pantograph2Down;
346347

347348
// ORTS only Events
348349
case 101: return Event.GearUp; // for gearbox based engines

0 commit comments

Comments
 (0)