diff --git a/src/scripting/thingdef_data.cpp b/src/scripting/thingdef_data.cpp index 09e28ba55..4560b282e 100644 --- a/src/scripting/thingdef_data.cpp +++ b/src/scripting/thingdef_data.cpp @@ -1204,8 +1204,8 @@ DEFINE_ACTION_FUNCTION(FStringStruct, AppendFormat) DEFINE_ACTION_FUNCTION(FStringStruct, Mid) { PARAM_SELF_STRUCT_PROLOGUE(FString); - PARAM_UINT(pos); - PARAM_UINT(len); + PARAM_UINT_DEF(pos); + PARAM_UINT_DEF(len); FString s = self->Mid(pos, len); ACTION_RETURN_STRING(s); }