From f41bf6509390f12a4252f40daf0209e7a7d64666 Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 24 Dec 2018 00:36:10 +0100 Subject: d --- cheat/internal_rewrite/c_base_player.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cheat/internal_rewrite/c_base_player.cpp') diff --git a/cheat/internal_rewrite/c_base_player.cpp b/cheat/internal_rewrite/c_base_player.cpp index c2364a7..d0c8272 100644 --- a/cheat/internal_rewrite/c_base_player.cpp +++ b/cheat/internal_rewrite/c_base_player.cpp @@ -614,8 +614,8 @@ void c_base_player::do_ent_interpolation( bool reset ) { if( !isfinite( vec_lerp[ i ] ) ) return; - byte backup = *( byte* )( uintptr_t( this ) + 0x270 ); - *( byte* )( uintptr_t( this ) + 0x270 ) = 0; + byte backup = *( byte* )( uintptr_t( this ) + 0x274 ); + *( byte* )( uintptr_t( this ) + 0x274 ) = 0; restore_anim_data( true ); @@ -627,7 +627,7 @@ void c_base_player::do_ent_interpolation( bool reset ) { ce( )->SetupBones( nullptr, -1, BONE_USED_BY_ANYTHING, g_csgo.m_globals->m_curtime ); this->m_iMostRecentModelBoneCounter( )++; - *( byte* )( uintptr_t( this ) + 0x270 ) = backup; + *( byte* )( uintptr_t( this ) + 0x274 ) = backup; } void c_base_player::validate_animation_layers( ) { @@ -1006,8 +1006,8 @@ void c_base_player::fix_animations( bool reset, bool resolver_change ) { //clear occlusion for setupbones (pvs fix) *( int* )( uintptr_t( this ) + 0xa30 ) = 0; - byte backup = get< byte >( 0x270 ); - get< byte >( 0x270 ) = 0; + byte backup = get< byte >( 0x274 ); + get< byte >( 0x274 ) = 0; invalidate_bone_cache( ); ce( )->SetupBones( nullptr, -1, BONE_USED_BY_ANYTHING, anim_time ); @@ -1022,7 +1022,7 @@ void c_base_player::fix_animations( bool reset, bool resolver_change ) { //disable animations again m_bClientSideAnimation( ) = false; - get< byte >( 0x270 ) = backup; + get< byte >( 0x274 ) = backup; } player_info_t c_base_player::get_info( ) { -- cgit v1.2.3