MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / IsWaiting

Method IsWaiting

neo/game/script/Script_Thread.cpp:688–698  ·  view source on GitHub ↗

================ idThread::IsWaiting Checks if thread is still waiting for some event to occur. ================ */

Source from the content-addressed store, hash-verified

686================
687*/
688bool 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================

Callers 3

UpdateScriptMethod · 0.45
ThreadIsWaitingMethod · 0.45
MSG_WriteThreadInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected