diff options
| author | navewindre <boneyaard@gmail.com> | 2018-12-09 17:12:07 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-12-09 17:12:07 +0100 |
| commit | dd9bbd12ef353f270d95ba733e1ef465d15d2b44 (patch) | |
| tree | bfbb407601eff0bb8547f713688e665944a6e03b /cheat/internal_rewrite/c_base_player.cpp | |
| parent | 430f93006fb8ac7c37c8cfc984d3d02b9f7dc693 (diff) | |
hack works now please go fix rest
Diffstat (limited to 'cheat/internal_rewrite/c_base_player.cpp')
| -rw-r--r-- | cheat/internal_rewrite/c_base_player.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cheat/internal_rewrite/c_base_player.cpp b/cheat/internal_rewrite/c_base_player.cpp index 981f63b..865f809 100644 --- a/cheat/internal_rewrite/c_base_player.cpp +++ b/cheat/internal_rewrite/c_base_player.cpp @@ -212,14 +212,14 @@ void c_base_player::invalidate_physics_recursive( int flags ) { }
}
-void c_base_player::update_clientside_animation() { - bool backup = m_bClientSideAnimation(); - m_bClientSideAnimation() = true; +void c_base_player::update_clientside_animation( ) { + bool backup = m_bClientSideAnimation( ); + m_bClientSideAnimation( ) = true; - using fn = void(__fastcall*)(void*); - pattern::first_code_match<fn>(g_csgo.m_chl.dll(), xors("55 8B EC 51 56 8B F1 80 BE ? ? ? ? ? 74 36"))(this); + using fn = void( __fastcall* )( void* ); + pattern::first_code_match<fn>( g_csgo.m_chl.dll( ), xors( "55 8B EC 51 56 8B F1 80 BE ? ? ? ? ? 74 36" ) )( this ); - m_bClientSideAnimation() = backup; + m_bClientSideAnimation( ) = backup; } @@ -582,7 +582,8 @@ void c_base_player::do_ent_interpolation( bool reset ) { if( !lerp )
return;
- if( anim_data->m_last_interp_origin.dist_to( anim_data->m_interp_origin ) > 64.f )
+ //yes
+ if( anim_data->m_last_interp_origin.dist_to( anim_data->m_interp_origin ) > 128.f )
return;
for( size_t i{ }; i < 3; ++i ) {
|
