From b514297d150c1a4ffdf145e031b593041f0b34b0 Mon Sep 17 00:00:00 2001 From: vicinity-gush8 <88168049+vicinity-gush8@users.noreply.github.com> Date: Thu, 30 Dec 2021 21:26:31 +0100 Subject: [PATCH] Fix aimbot aiming at moving stickybombs --- src/hacks/Aimbot.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index cc1f55d9..c1492e30 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -1080,7 +1080,9 @@ bool IsTargetStateGood(CachedEntity *entity) return false; // Moving Sticky? - if (!CE_VECTOR(entity, netvar.vVelocity).IsZero(1.0f)) + Vector velocity; + velocity::EstimateAbsVelocity(RAW_ENT(entity), velocity); + if (!velocity.IsZero()) return false; // Grab the prediction var