diff options
| author | navewindre <boneyaard@gmail.com> | 2018-12-24 00:36:10 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-12-24 00:36:10 +0100 |
| commit | f41bf6509390f12a4252f40daf0209e7a7d64666 (patch) | |
| tree | 79ed2c592ee15bc0e97a6d2f9c2a92226281009e /cheat/internal_rewrite/c_base_player.cpp | |
| parent | fef68b3881d7b1a60abe2be85dde27b7b0ada3c3 (diff) | |
d
Diffstat (limited to 'cheat/internal_rewrite/c_base_player.cpp')
| -rw-r--r-- | cheat/internal_rewrite/c_base_player.cpp | 12 |
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( ) {
|
