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

Method IsWaiting

neo/d3xp/script/Script_Thread.cpp:710–720  ·  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

708================
709*/
710bool idThread::IsWaiting( void ) {
711 if ( waitingForThread || ( waitingFor != ENTITYNUM_NONE ) ) {
712 return true;
713 }
714
715 if ( waitingUntil && ( waitingUntil > gameLocal.time ) ) {
716 return true;
717 }
718
719 return false;
720}
721
722/*
723================

Callers 3

UpdateScriptMethod · 0.45
ThreadIsWaitingMethod · 0.45
MSG_WriteThreadInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected