- added ACS SpawnForced function.

SVN r3104 (trunk)
This commit is contained in:
Christoph Oelckers 2011-01-14 10:40:59 +00:00
parent 17ab63a39f
commit 090922e1c2

View file

@ -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;
}