MCPcopy Create free account
hub / github.com/JACoders/OpenJK / NPC_ClearLookTarget

Function NPC_ClearLookTarget

code/game/NPC_utils.cpp:1458–1467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1456*/
1457
1458void NPC_ClearLookTarget( gentity_t *self )
1459{
1460 if ( !self->client )
1461 {
1462 return;
1463 }
1464
1465 self->client->renderInfo.lookTarget = ENTITYNUM_NONE;//ENTITYNUM_WORLD;
1466 self->client->renderInfo.lookTargetClearTime = 0;
1467}
1468
1469/*
1470-------------------------

Callers 4

Q3_LookTargetFunction · 0.70
G_ClearEnemyFunction · 0.70
Jedi_PatrolFunction · 0.70
NPC_CheckLookTargetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected