summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot_lagcomp.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-12 23:07:32 +0200
committernavewindre <boneyaard@gmail.com>2018-09-12 23:07:32 +0200
commit3c72119a3c474e11f9ee819def492dcbfd1e8f84 (patch)
treeb7e52c422fbc8e96874a2876c9b82f96e7767f09 /internal_rewrite/ragebot_lagcomp.cpp
parente8bff3fb5f484e2fb98bf157f4b85b61fdbd0620 (diff)
asd
Diffstat (limited to 'internal_rewrite/ragebot_lagcomp.cpp')
-rw-r--r--internal_rewrite/ragebot_lagcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/ragebot_lagcomp.cpp b/internal_rewrite/ragebot_lagcomp.cpp
index 201c9be..0401f05 100644
--- a/internal_rewrite/ragebot_lagcomp.cpp
+++ b/internal_rewrite/ragebot_lagcomp.cpp
@@ -448,7 +448,7 @@ namespace features
if( g_settings.rage.resolver( ) ) {
float anim_time = ent->m_flOldSimulationTime( ) + TICK_INTERVAL( );
- if( ent->m_flSimulationTime( ) - m_flick_time[ i ] > 1.1f && !m_first_update[ i ] ) {
+ if( anim_time - m_flick_time[ i ] > 1.1f && !m_first_update[ i ] ) {
has_updated = true;
ent->m_angEyeAngles( ).y = lby;