diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index add3a5b7dd..13d2739d3a 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -4203,14 +4203,15 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Warp) DEFINE_ACTION_FUNCTION_PARAMS(AActor, ACS_NamedExecuteWithResult) { - ACTION_PARAM_START(4); + ACTION_PARAM_START(5); ACTION_PARAM_NAME(scriptname, 0); ACTION_PARAM_INT(arg1, 1); ACTION_PARAM_INT(arg2, 2); ACTION_PARAM_INT(arg3, 3); + ACTION_PARAM_INT(arg4, 4); - bool res = !!P_ExecuteSpecial(ACS_ExecuteWithResult, NULL, self, false, -scriptname, arg1, arg2, arg3, 0); + bool res = !!P_ExecuteSpecial(ACS_ExecuteWithResult, NULL, self, false, -scriptname, arg1, arg2, arg3, arg4); ACTION_SET_RESULT(res); }