| 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 | { |
no test coverage detected