From 090922e1c2397bb44c86e036575b3b2be522f88c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 14 Jan 2011 10:40:59 +0000 Subject: [PATCH] - added ACS SpawnForced function. SVN r3104 (trunk) --- src/p_acs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 60448adae..497c0fbdf 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -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; }