From 06d1b5ffea46e2e8e003084b100c709769adfdd0 Mon Sep 17 00:00:00 2001 From: ifBars <114284668+ifBars@users.noreply.github.com> Date: Thu, 12 Oct 2023 01:53:45 -0600 Subject: [PATCH] Update hack.hpp - Made the head tracker more accurate when up close --- memory-external/hacks/hack.hpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/memory-external/hacks/hack.hpp b/memory-external/hacks/hack.hpp index 9fe3ba2..a7eb2f6 100644 --- a/memory-external/hacks/hack.hpp +++ b/memory-external/hacks/hack.hpp @@ -170,7 +170,7 @@ namespace hack { if (config::head_tracker) { - if (roundedDistance > 25) + if (roundedDistance > 35) { render::DrawFilledBox( g::hdcBuffer, @@ -181,6 +181,17 @@ namespace hack { rainbowColor ); } + else if (roundedDistance > 5) + { + render::DrawFilledBox( + g::hdcBuffer, + screenHead.x - (width2 / 2), + screenHead.y + 25 - (height2 / 2), + width2, + height2, + rainbowColor + ); + } } if (config::rainbow)