Skip to content

Commit 069164f

Browse files
committed
Automatic merge of T1.5.1-351-gc9abcd22b and 8 pull requests
- Pull request #570 at de7a14f: Experimental glTF 2.0 support with PBR lighting - Pull request #732 at 1edb2e5: Improvements for air brakes - Pull request #751 at 00981a2: Web interface to control cab controls with external hardware - Pull request #767 at 82c5f1c: Refine sunrise and sunset - Pull request #799 at eb92d81: Consolidated wind simulation - Pull request #803 at 7157e08: Various adjustments to steam adhesion - Pull request #809 at f67822a: Some on-screen messages not suppressed, Bug #2008012 - Pull request #813 at 80789c6: Refactored garbage generators
10 parents c31e3c4 + c9abcd2 + de7a14f + 1edb2e5 + 00981a2 + 82c5f1c + eb92d81 + 7157e08 + f67822a + 80789c6 commit 069164f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Orts.Formats.Msts/SignalConfigurationFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class SignalConfigurationFile
4444
/// <summary>Name-indexed list of available signal functions</summary>
4545
public IDictionary<string, SignalFunction> SignalFunctions;
4646
/// <summary>Allocation-free MstsName-indexed list of available signal functions</summary>
47-
public static IDictionary<MstsSignalFunction, SignalFunction> MstsSignalFunctions;
47+
public static Dictionary<MstsSignalFunction, SignalFunction> MstsSignalFunctions;
4848
/// <summary>List of OR defined subtypes for Norman signals</summary>
4949
public IList<string> ORTSNormalSubtypes;
5050
/// <summary>Name-indexed list of available light textures</summary>
@@ -83,7 +83,7 @@ public SignalConfigurationFile(string filenamewithpath, bool ORTSMode)
8383
};
8484

8585
// and the allocation-free version of the above
86-
MstsSignalFunctions = new SortedDictionary<MstsSignalFunction, SignalFunction>
86+
MstsSignalFunctions = new Dictionary<MstsSignalFunction, SignalFunction>
8787
{
8888
{ MstsSignalFunction.NORMAL, SignalFunction.NORMAL },
8989
{ MstsSignalFunction.DISTANCE, SignalFunction.DISTANCE },

0 commit comments

Comments
 (0)