Skip to content

Commit 5e6f22a

Browse files
committed
Adjustments to steam performance and sound events.
1 parent 8794ec0 commit 5e6f22a

File tree

3 files changed

+68
-71
lines changed

3 files changed

+68
-71
lines changed

Source/Orts.Simulation/Common/Events.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ public enum Event
216216
BrakePipePressureStoppedChanging,
217217
CylinderCocksOpen,
218218
CylinderCocksClose,
219+
BoosterCylinderCocksOpen,
220+
BoosterCylinderCocksClose,
219221
SecondEnginePowerOff,
220222
SecondEnginePowerOn,
221223

@@ -272,8 +274,6 @@ public enum Event
272274

273275
MPCChangePosition,
274276

275-
SteamBoosterChange,
276-
277277
}
278278

279279
public static class Events
@@ -548,7 +548,8 @@ public static Event From(Source source, int eventID)
548548

549549
case 310: return Event.MPCChangePosition;
550550

551-
case 320: return Event.SteamBoosterChange;
551+
case 321: return Event.BoosterCylinderCocksOpen;
552+
case 322: return Event.BoosterCylinderCocksClose;
552553

553554
default: return 0;
554555
}

0 commit comments

Comments
 (0)