MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / find_locked_target

Function find_locked_target

src/SB/Game/zEntCruiseBubble.cpp:1507–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505 }
1506
1507 S32 find_locked_target(const xVec3* target)
1508 {
1509 for (S32 i = 1; i < hud.gizmos_used; ++i)
1510 {
1511 if (hud.gizmo[i].target == target)
1512 {
1513 return i;
1514 }
1515 }
1516
1517 return -1;
1518 }
1519
1520 void lock_target(S32 index, const xVec3* target, F32 opacity)
1521 {

Callers 1

check_lock_targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected