mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: The action function version of ACS_NamedExecuteWithResult only accepted three script parameters.
SVN r3741 (trunk)
This commit is contained in:
parent
dc641766d3
commit
5a245af2ad
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue