diff --git a/src/scripting/backend/dynarrays.cpp b/src/scripting/backend/dynarrays.cpp index 147ab89f8..b95e02f4d 100644 --- a/src/scripting/backend/dynarrays.cpp +++ b/src/scripting/backend/dynarrays.cpp @@ -210,7 +210,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I8, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I8, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I8); PARAM_INT(count); ArrayResize(self, count); return 0; @@ -313,7 +313,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I16, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I16, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I16); PARAM_INT(count); ArrayResize(self, count); return 0; @@ -416,7 +416,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I32, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_I32, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I32); PARAM_INT(count); ArrayResize(self, count); return 0; @@ -519,7 +519,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_F32, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_F32, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_F32); PARAM_INT(count); ArrayResize(self, count); return 0; @@ -622,7 +622,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_F64, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_F64, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_F64); PARAM_INT(count); ArrayResize(self, count); return 0; @@ -725,7 +725,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_Ptr, Grow, ArrayGrow) DEFINE_ACTION_FUNCTION_NATIVE(FDynArray_Ptr, Resize, ArrayResize) { - PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Obj); + PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Ptr); PARAM_INT(count); ArrayResize(self, count); return 0;