From 094c6845494cf55227241b41788a6e752edd35b0 Mon Sep 17 00:00:00 2001 From: julianacat Date: Fri, 21 Jul 2017 13:50:05 -0500 Subject: [PATCH] Meh --- src/hacks/Aimbot.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index e0f84adf..d52ec700 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -389,9 +389,8 @@ bool IsTargetStateGood(CachedEntity* entity) { if (IsPlayerInvisible(entity)) cdmg = (cdmg * .80) - 1; - - // Check if player will die from headshot or if target has more health than normal overheal allows. - if ( !(entity->m_iHealth <= 150 || entity->m_iHealth <= cdmg || !g_pLocalPlayer->bZoomed || entity->m_iHealth > entity->m_iMaxHealth + (entity->m_iMaxHealth * 0.5) || maxCharge && entity->m_iHealth > 450.0F) ) { + // Check if player will die from headshot or if target has more than 450 health and sniper has max chage + if ( !(entity->m_iHealth <= 150.0F || entity->m_iHealth <= cdmg || !g_pLocalPlayer->bZoomed || maxCharge && entity->m_iHealth > 450.0F) ) { return false; } }