- fixed flag parsing for grpinfo.

This commit is contained in:
Christoph Oelckers 2019-11-02 18:03:41 +01:00
parent 536c7d61a0
commit 63d4fc1e1b

View file

@ -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);