summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/c_base_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/c_base_player.cpp')
-rw-r--r--cheat/internal_rewrite/c_base_player.cpp12
1 files changed, 6 insertions, 6 deletions
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( ) {