mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Restored ACS_NamedExecuteWithResult for DECORATE
https://forum.zdoom.org/viewtopic.php?t=59250
This commit is contained in:
parent
3436b80232
commit
fb1f8a6045
1 changed files with 5 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ class Actor : Thinker native
|
||||||
{
|
{
|
||||||
return ACS_LockedExecuteDoor(-int(script), mapnum, arg1, arg2, lock);
|
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);
|
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);
|
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)
|
States(Actor, Overlay, Weapon, Item)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue