================ idInterpreter::EnterObjectFunction Calls a function on a script object. NOTE: If this is called from within a event called by this interpreter, the function arguments will be invalid after calling this function. ================ */
| 571 | ================ |
| 572 | */ |
| 573 | void idInterpreter::EnterObjectFunction( idEntity *self, const function_t *func, bool clearStack ) { |
| 574 | if ( clearStack ) { |
| 575 | Reset(); |
| 576 | } |
| 577 | if ( popParms ) { |
| 578 | PopParms( popParms ); |
| 579 | popParms = 0; |
| 580 | } |
| 581 | Push( self->entityNumber + 1 ); |
| 582 | EnterFunction( func, false ); |
| 583 | } |
| 584 | |
| 585 | /* |
| 586 | ==================== |
no outgoing calls
no test coverage detected