- changed order of identifier types to be checked to what it was in 4.3

This commit is contained in:
Christoph Oelckers 2020-10-17 15:13:14 +02:00
commit 565a5acd85
3 changed files with 18 additions and 3 deletions

View file

@ -6055,6 +6055,12 @@ FxExpression *FxIdentifier::Resolve(FCompileContext& ctx)
}
}
if (compileEnvironment.CheckSpecialGlobalIdentifier)
{
auto result = compileEnvironment.CheckSpecialGlobalIdentifier(this, ctx);
if (result != this) return result;
}
if (auto *cvar = FindCVar(Identifier.GetChars(), nullptr))
{
if (cvar->GetFlags() & CVAR_USERINFO)