From 5e5b152f4b62432655cc4069c1d95be636749b7d Mon Sep 17 00:00:00 2001 From: navewindre Date: Tue, 13 Nov 2018 00:42:56 +0100 Subject: yo sick --- internal_rewrite/ragebot_antiaim.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'internal_rewrite/ragebot_antiaim.cpp') diff --git a/internal_rewrite/ragebot_antiaim.cpp b/internal_rewrite/ragebot_antiaim.cpp index c73ad54..efb225c 100644 --- a/internal_rewrite/ragebot_antiaim.cpp +++ b/internal_rewrite/ragebot_antiaim.cpp @@ -119,7 +119,7 @@ namespace features pitch = math::vector_angles( g_ctx.m_local->get_eye_pos( ), t->get_hitbox_pos( 0 ) ).x; } else - pitch = -10.f; + pitch = 0.f; real_angle.x = pitch; } @@ -586,10 +586,11 @@ namespace features float speed = velocity->length( ); if( speed >= 0.1f ) { - float friction = sv_friction->get_float( ); + //if it works, it works + float friction = sv_friction->get_float( ) * 1.12f; float stop_speed = std::max< float >( speed, sv_stopspeed->get_float( ) ); float time = std::max< float >( g_csgo.m_globals->m_interval_per_tick, g_csgo.m_globals->m_frametime ); - *velocity *= std::max< float >( 0.f, speed - friction * stop_speed * time / speed ); + *velocity *= std::max< float >( 0.f, speed - friction * stop_speed * time / speed ); } }; -- cgit v1.2.3