mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- 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:
parent
bef5b953b2
commit
182d43ae70
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue