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

Function update_hook_loc

src/SB/Game/zEntPlayerBungeeState.cpp:333–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 }
332
333 static void update_hook_loc()
334 {
335 if (shared.hook == NULL || shared.hook->ent == NULL)
336 {
337 return;
338 }
339
340 xVec3* hook_pos = xEntGetPos(shared.hook->ent);
341 shared.hook_loc = *hook_pos + shared.hook->asset->center;
342 }
343
344 static bool find_drop_off()
345 {

Callers 1

detach_updateMethod · 0.85

Calls 1

xEntGetPosFunction · 0.85

Tested by

no test coverage detected