mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
- fixed flag parsing for grpinfo.
This commit is contained in:
parent
536c7d61a0
commit
63d4fc1e1b
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ static TArray<GrpInfo> ParseGrpInfo(const char *fn, FileReader &fr, TMap<FString
|
||||||
else if (sc.TokenType == TK_Identifier)
|
else if (sc.TokenType == TK_Identifier)
|
||||||
{
|
{
|
||||||
auto ip = FlagMap.CheckKey(sc.String);
|
auto ip = FlagMap.CheckKey(sc.String);
|
||||||
if (ip) grp.dependencyCRC |= *ip;
|
if (ip) grp.flags |= *ip;
|
||||||
else sc.ScriptError("Unknown flag value %s", sc.String);
|
else sc.ScriptError("Unknown flag value %s", sc.String);
|
||||||
}
|
}
|
||||||
else sc.TokenMustBe(TK_IntConst);
|
else sc.TokenMustBe(TK_IntConst);
|
||||||
|
|
Loading…
Reference in a new issue