From 93bdd58725e4994c99ee86ce0674a87ac225550a Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 7 May 2012 01:23:45 +0000 Subject: [PATCH] - Fixed: ACS_NamedExecuteWithResult, the action function, parsed its parameters incorrectly. SVN r3630 (trunk) --- src/thingdef/thingdef_codeptr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index e802583e8..e717dd41b 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -4208,9 +4208,9 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, ACS_NamedExecuteWithResult) ACTION_PARAM_START(4); ACTION_PARAM_NAME(scriptname, 0); - ACTION_PARAM_INT(arg1, 2); - ACTION_PARAM_INT(arg2, 3); - ACTION_PARAM_INT(arg3, 4); + ACTION_PARAM_INT(arg1, 1; + ACTION_PARAM_INT(arg2, 2); + ACTION_PARAM_INT(arg3, 3); bool res = !!P_ExecuteSpecial(ACS_ExecuteWithResult, NULL, self, false, -scriptname, arg1, arg2, arg3, 0);