===================== idEntity::Event_HasFunction ===================== */
| 4641 | ===================== |
| 4642 | */ |
| 4643 | void idEntity::Event_HasFunction( const char *name ) { |
| 4644 | const function_t *func; |
| 4645 | |
| 4646 | func = scriptObject.GetFunction( name ); |
| 4647 | if ( func ) { |
| 4648 | idThread::ReturnInt( true ); |
| 4649 | } else { |
| 4650 | idThread::ReturnInt( false ); |
| 4651 | } |
| 4652 | } |
| 4653 | |
| 4654 | /* |
| 4655 | ===================== |
nothing calls this directly
no test coverage detected