mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- added ACS SpawnForced function.
SVN r3104 (trunk)
This commit is contained in:
parent
17ab63a39f
commit
090922e1c2
1 changed files with 4 additions and 0 deletions
|
@ -3053,6 +3053,7 @@ enum EACSFunctions
|
|||
ACSF_GetPolyobjX,
|
||||
ACSF_GetPolyobjY,
|
||||
ACSF_CheckSight,
|
||||
ACSF_SpawnForced,
|
||||
};
|
||||
|
||||
int DLevelScript::SideFromID(int id, int side)
|
||||
|
@ -3524,6 +3525,9 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
|||
return 0;
|
||||
}
|
||||
|
||||
case ACSF_SpawnForced:
|
||||
return DoSpawn(args[0], args[1], args[2], args[3], args[4], args[5], true);
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue