コード例 #1
0
ファイル: ScriptBind_Actor.cpp プロジェクト: mrwonko/CrysisVR
//------------------------------------------------------------------------
int CScriptBind_Actor::GetMaxArmor(IFunctionHandler *pH)
{
	CActor *pActor = GetActor(pH);
	if (!pActor)
		return pH->EndFunction();

	if (pActor)
		return pH->EndFunction(pActor->GetMaxArmor());

	return pH->EndFunction();
}