mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +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
c0a26afab9
commit
f3171c95cc
1 changed files with 2 additions and 1 deletions
|
@ -10755,9 +10755,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