summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot_antiaim.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-11-26 20:42:00 +0100
committernavewindre <boneyaard@gmail.com>2018-11-26 20:42:00 +0100
commit1bb1688f58bee00f37f28c2c747dac2bdca7264e (patch)
treeec90d9f0d6bfabf497b6113ebaa4306ac05aabde /internal_rewrite/ragebot_antiaim.cpp
parentd17493562fbe7352d9416ecc9160d04101cae0f3 (diff)
dsad
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++;