Skip to content

Commit 23fd156

Browse files
authored
Merge pull request #1159 from Csantucci/skip-ruler-warnings
Skip OR warnings about TSRE-specific token Ruler
2 parents 6b62c2a + 48c9a63 commit 23fd156

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Source/Orts.Formats.Msts/WorldFile.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public class Tr_Worldfile : List<WorldObject>
8282
{
8383
TokenID.VDbIdCount,
8484
TokenID.ViewDbSphere,
85+
TokenID.Ruler,
8586
};
8687

8788
public Tr_Worldfile(SBR block, string filename, List<TokenID> allowedTokens)

Source/Orts.Parsers.Msts/TokenID.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,9 @@ public enum TokenID : uint
17181718
MaxStackedContainers,
17191719
Length,
17201720
Flipped,
1721+
1722+
// TSRE specific
1723+
Ruler
17211724
}
17221725

17231726
}

0 commit comments

Comments
 (0)