From e2d238e1b4071ccbf3858eacb7b3ce8f98fa48e1 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 26 Oct 2026 16:09:38 +0100 Subject: Bones: robust head lookup (hitbox name -> head bone) + hitbox dump --- src/esp.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/esp.cpp') diff --git a/src/esp.cpp b/src/esp.cpp index b384bc4..996a886 100644 --- a/src/esp.cpp +++ b/src/esp.cpp @@ -334,8 +334,14 @@ void esp_draw() { if (!ent || !bones_update(t.idx, ent)) continue; Vector head; - if (!hitbox_center(t.idx, "head", head)) + if (!head_position(t.idx, head)) { + static int no_head = 0; + if (no_head < 4) { + no_head++; + logf("head: idx=%d no head hitbox/bone", t.idx); + } continue; + } float hx, hy; if (!world_to_screen(head, hx, hy)) continue; -- cgit v1.2.3