===================== idActor::GetScriptFunction ===================== */
| 1331 | ===================== |
| 1332 | */ |
| 1333 | const function_t *idActor::GetScriptFunction( const char *funcname ) { |
| 1334 | const function_t *func; |
| 1335 | |
| 1336 | func = scriptObject.GetFunction( funcname ); |
| 1337 | if ( !func ) { |
| 1338 | scriptThread->Error( "Unknown function '%s' in '%s'", funcname, scriptObject.GetTypeName() ); |
| 1339 | } |
| 1340 | |
| 1341 | return func; |
| 1342 | } |
| 1343 | |
| 1344 | /* |
| 1345 | ===================== |
nothing calls this directly
no test coverage detected