Fixed: Deprecated functions could not act because FxVMFunctionCall::CheckAccessibility returned false on warning.

This commit is contained in:
Major Cooke 2017-03-06 10:26:08 -06:00 committed by Christoph Oelckers
parent cf23deef74
commit e111b0b92e

View file

@ -8516,7 +8516,6 @@ bool FxVMFunctionCall::CheckAccessibility(const VersionInfo &ver)
if ((Function->Variants[0].Flags & VARF_Deprecated) && Function->mVersion >= ver)
{
ScriptPosition.Message(MSG_WARNING, "Accessing deprecated function %s - deprecated since %d.%d.%d", Function->SymbolName.GetChars(), Function->mVersion.major, Function->mVersion.minor, Function->mVersion.revision);
return false;
}
return true;
}