From fb1f8a604580727d86dfa6dde3139d8879833a11 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 24 Feb 2018 22:03:23 +0200 Subject: [PATCH] Restored ACS_NamedExecuteWithResult for DECORATE https://forum.zdoom.org/viewtopic.php?t=59250 --- wadsrc/static/zscript/actor.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index 7c9140788d..fa06447552 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -1177,7 +1177,7 @@ class Actor : Thinker native { return ACS_LockedExecuteDoor(-int(script), mapnum, arg1, arg2, lock); } - int ACS_ScriptCall(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0) + int ACS_NamedExecuteWithResult(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0) { return ACS_ExecuteWithResult(-int(script), arg1, arg2, arg3, arg4); } @@ -1185,6 +1185,10 @@ class Actor : Thinker native { return ACS_ExecuteAlways(-int(script), mapnum, arg1, arg2, arg3); } + int ACS_ScriptCall(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0) + { + return ACS_ExecuteWithResult(-int(script), arg1, arg2, arg3, arg4); + } States(Actor, Overlay, Weapon, Item) {