================ idThread::IsWaiting Checks if thread is still waiting for some event to occur. ================ */
| 686 | ================ |
| 687 | */ |
| 688 | bool idThread::IsWaiting( void ) { |
| 689 | if ( waitingForThread || ( waitingFor != ENTITYNUM_NONE ) ) { |
| 690 | return true; |
| 691 | } |
| 692 | |
| 693 | if ( waitingUntil && ( waitingUntil > gameLocal.time ) ) { |
| 694 | return true; |
| 695 | } |
| 696 | |
| 697 | return false; |
| 698 | } |
| 699 | |
| 700 | /* |
| 701 | ================ |
no outgoing calls
no test coverage detected