- fixed: Any direct native function may not use struct values as parameters, not even something as simple as an FName.

This commit is contained in:
Christoph Oelckers 2018-11-25 23:32:10 +01:00
parent bef5b953b2
commit 182d43ae70

View file

@ -10747,9 +10747,10 @@ FxExpression *FxClassTypeCast::Resolve(FCompileContext &ctx)
//
//==========================================================================
static PClass *NativeNameToClass(FName clsname, PClass *desttype)
static PClass *NativeNameToClass(int _clsname, PClass *desttype)
{
PClass *cls = nullptr;
FName clsname = ENamedName(_clsname);
if (clsname != NAME_None)
{
cls = PClass::FindClass(clsname);