From ab3efef3215cc51f27d0bf565cdea4a0e58863db Mon Sep 17 00:00:00 2001 From: Retarded-Skid Date: Thu, 13 Jul 2017 17:43:09 -0400 Subject: [PATCH] Fixed Removeconding on health packs if overhealed --- src/hacks/LagExploit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hacks/LagExploit.cpp b/src/hacks/LagExploit.cpp index 4799835d..a93e3d28 100644 --- a/src/hacks/LagExploit.cpp +++ b/src/hacks/LagExploit.cpp @@ -148,7 +148,7 @@ void CreateMove() { } // Infinite healthpacks (I'll probably have to move this somewhere else) - if (infinite_packs && CE_GOOD(LOCAL_E) && LOCAL_E->m_iHealth != LOCAL_E->m_iMaxHealth) { + if (infinite_packs && CE_GOOD(LOCAL_E) && LOCAL_E->m_iHealth <= LOCAL_E->m_iMaxHealth) { ICollideable* p = RAW_ENT(LOCAL_E)->GetCollideable(); const Vector& max1 = p->OBBMaxs(); const Vector& min1 = p->OBBMins();