summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-05 23:19:33 +0200
committernavewindre <boneyaard@gmail.com>2018-09-05 23:19:33 +0200
commit80d9845607058a85c5250aebca1280324b811285 (patch)
treecbea9ccbdd0a4be8e8d8dbd8a0e8171ffe7612e9 /internal_rewrite/ragebot.cpp
parentcf4d2ec1a220d70bcfb6490a1a4e23dc8d90886b (diff)
whole bunch of shit
Diffstat (limited to 'internal_rewrite/ragebot.cpp')
-rw-r--r--internal_rewrite/ragebot.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal_rewrite/ragebot.cpp b/internal_rewrite/ragebot.cpp
index 351e525..7f844b0 100644
--- a/internal_rewrite/ragebot.cpp
+++ b/internal_rewrite/ragebot.cpp
@@ -416,7 +416,7 @@ namespace features
vec3_t vel = g_ctx.m_local->m_vecVelocity( );
float speed = vel.length2d( );
- if( speed < 1.f ) {
+ if( speed < 10.f ) {
g_ctx.get_last_cmd( )->m_forwardmove = 0.f;
g_ctx.get_last_cmd( )->m_sidemove = 0.f;
return;
@@ -788,7 +788,7 @@ namespace features
quick_stop( m_cmd );
if( !util::hitchance( it, aim_angle,
- g_settings.rage.active->m_hitchance ) ) {
+ g_settings.rage.active->m_hitchance, hitbox ) ) {
if( g_settings.rage.active->m_auto_stop( ) == 1 )
quick_stop( m_cmd );
@@ -858,8 +858,7 @@ namespace features
}
if( g_settings.rage.silent == 2 ) {
- g_cheat.m_lagmgr.set_state( weapon->m_iItemDefinitionIndex( ) == WEAPON_R8REVOLVER );
- m_send_next = weapon->m_iItemDefinitionIndex( ) != WEAPON_R8REVOLVER;
+ g_cheat.m_lagmgr.set_state( g_cheat.m_lagmgr.get_choked( ) && !g_settings.rage.fakelag.in_attack && !m_antiaim->is_fakewalking( ) );
}
if( g_settings.rage.silent == 1 && !m_antiaim->is_fakewalking( ) ) {