From 5c18ff367589419551519943ab97c45efabd711b Mon Sep 17 00:00:00 2001 From: Julian Rowe Date: Fri, 5 May 2017 16:31:24 -0500 Subject: [PATCH] Fixed charged shots not body aiming --- src/hacks/Aimbot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index e6ba378a..aaca6454 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -606,7 +606,7 @@ int BestHitbox(CachedEntity* target) { cdmg = (cdmg / 1.20) - 1; } //If can headshot and if bodyshot kill from charge damage, or if crit boosted and they have 150 health, or if player isnt zoomed, or if the enemy has less than 40, due to darwins, and only if they have less than 150 health will it try to bodyshot - if (CanHeadshot() && (cdmg > target->m_iHealth || IsPlayerCritBoosted(g_pLocalPlayer->entity) || !g_pLocalPlayer->bZoomed || target->m_iHealth < bdmg) && target->m_iHealth <= 150) { + if (CanHeadshot() && (cdmg >= target->m_iHealth || IsPlayerCritBoosted(g_pLocalPlayer->entity) || !g_pLocalPlayer->bZoomed || target->m_iHealth <= bdmg) && target->m_iHealth <= 150) { preferred = ClosestHitbox(target); headonly = false; }