MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / Error

Method Error

CrySystem/ScriptObjectSystem.cpp:463–474  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

461
462//////////////////////////////////////////////////////////////////////////
463int CScriptObjectSystem::Error(IFunctionHandler *pH)
464{
465 CHECK_PARAMETERS(1);
466
467 const char *sParam = "";
468 if (pH->GetParam(1,sParam))
469 {
470 m_pSystem->Warning( VALIDATOR_MODULE_SCRIPTSYSTEM,VALIDATOR_ERROR,0,NULL,"%s",sParam );
471 }
472
473 return (pH->EndFunction());
474}
475
476/*! Clear the console
477*/

Callers

nothing calls this directly

Calls 3

EndFunctionMethod · 0.80
GetParamMethod · 0.45
WarningMethod · 0.45

Tested by

no test coverage detected