summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/ragebot_antiaim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/ragebot_antiaim.cpp')
-rw-r--r--cheat/internal_rewrite/ragebot_antiaim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cheat/internal_rewrite/ragebot_antiaim.cpp b/cheat/internal_rewrite/ragebot_antiaim.cpp
index 33cc046..8cba797 100644
--- a/cheat/internal_rewrite/ragebot_antiaim.cpp
+++ b/cheat/internal_rewrite/ragebot_antiaim.cpp
@@ -563,7 +563,7 @@ namespace features
break;
case 3: {
constexpr static double rate = 360.0 / 1.618033988749895;
- aim_angle.y += ( -jitter * 0.5f ) + ( std::fmod( g_csgo.m_globals->m_curtime * rate, jitter + 1.f ) );
+ aim_angle.y += ( -jitter * 0.5f ) + ( std::fmod( g_csgo.m_globals->m_curtime * ( ( 1.f - ( 90.f - jitter ) / 90.f ) * rate ), jitter + 1.f ) );
break;
}
default: break;