===================== idActor::GetScriptFunction ===================== */
| 1283 | ===================== |
| 1284 | */ |
| 1285 | const function_t *idActor::GetScriptFunction( const char *funcname ) { |
| 1286 | const function_t *func; |
| 1287 | |
| 1288 | func = scriptObject.GetFunction( funcname ); |
| 1289 | if ( !func ) { |
| 1290 | scriptThread->Error( "Unknown function '%s' in '%s'", funcname, scriptObject.GetTypeName() ); |
| 1291 | } |
| 1292 | |
| 1293 | return func; |
| 1294 | } |
| 1295 | |
| 1296 | /* |
| 1297 | ===================== |
nothing calls this directly
no test coverage detected