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

Method Event_ClearSignalThread

neo/game/script/Script_Thread.cpp:1378–1388  ·  view source on GitHub ↗

================ idThread::Event_ClearSignalThread ================ */

Source from the content-addressed store, hash-verified

1376================
1377*/
1378void idThread::Event_ClearSignalThread( int signal, idEntity *ent ) {
1379 if ( !ent ) {
1380 Error( "Entity not found" );
1381 }
1382
1383 if ( ( signal < 0 ) || ( signal >= NUM_SIGNALS ) ) {
1384 Error( "Signal out of range" );
1385 }
1386
1387 ent->ClearSignalThread( ( signalNum_t )signal, this );
1388}
1389
1390/*
1391================

Callers

nothing calls this directly

Calls 2

ErrorFunction · 0.50
ClearSignalThreadMethod · 0.45

Tested by

no test coverage detected