summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot_antiaim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/ragebot_antiaim.cpp')
-rw-r--r--internal_rewrite/ragebot_antiaim.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal_rewrite/ragebot_antiaim.cpp b/internal_rewrite/ragebot_antiaim.cpp
index a58897e..bb9507f 100644
--- a/internal_rewrite/ragebot_antiaim.cpp
+++ b/internal_rewrite/ragebot_antiaim.cpp
@@ -706,9 +706,10 @@ namespace features
}
}
+ on_ground = g_ctx.m_local->get_animstate( )->m_bOnGround;
+
if( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) {
last_onground = g_ctx.pred_time( );
- on_ground = true;
}
ticks++;