diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-19 15:58:29 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-19 15:58:29 +0200 |
| commit | 62f253525bcc13fedba4df1b6d6be7eef2410d4e (patch) | |
| tree | d44a1ed499a1230e86710c1f8246d890682ae412 /internal_rewrite/proxies.cpp | |
| parent | e56123a4331aacf8b43f74d1cae7977b93cc390b (diff) | |
f
Diffstat (limited to 'internal_rewrite/proxies.cpp')
| -rw-r--r-- | internal_rewrite/proxies.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/proxies.cpp b/internal_rewrite/proxies.cpp index 4f70215..cb4a872 100644 --- a/internal_rewrite/proxies.cpp +++ b/internal_rewrite/proxies.cpp @@ -33,7 +33,7 @@ void __cdecl hooks::last_shot_proxy_fn( const CRecvProxyData* proxy_data_const, auto record = g_cheat.m_ragebot.m_lagcomp->get_newest_record( owner->ce( )->GetIndex( ) );
float& last_update = g_cheat.m_ragebot.m_lagcomp->get_last_updated_simtime( owner->ce( )->GetIndex( ) );
- if( time == owner->m_flSimulationTime( ) && owner->has_valid_anim( ) && owner->m_flSimulationTime( ) != last_update ) {
+ if( time == anim_time && owner->has_valid_anim( ) && owner->m_flSimulationTime( ) != last_update ) {
last_update = owner->m_flSimulationTime( );
vec3_t local_pos = g_ctx.m_local->m_vecOrigin( );
|
