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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cheat/internal_rewrite/c_base_player.cpp b/cheat/internal_rewrite/c_base_player.cpp
index 30044db..c2364a7 100644
--- a/cheat/internal_rewrite/c_base_player.cpp
+++ b/cheat/internal_rewrite/c_base_player.cpp
@@ -634,7 +634,7 @@ void c_base_player::validate_animation_layers( ) {
for( size_t i{ }; i < m_AnimOverlay( ).GetSize( ); ++i ) {
auto& layer = m_AnimOverlay( ).GetElements( )[ i ];
layer.m_flCycle = std::clamp( layer.m_flCycle, 0.f, 1.f );
- layer.m_flWeight = std::clamp( layer.m_flWeight, 0.f, 1.f );
+ //layer.m_flWeight = std::clamp( layer.m_flWeight, 0.f, 1.f );
layer.m_player = this;
}
@@ -864,7 +864,7 @@ void c_base_player::fix_animations( bool reset, bool resolver_change ) {
get_animstate( )->m_flGoalFeetYaw = get_animstate( )->m_flCurrentFeetYaw = feet_yaw;
}*/
- get_animstate( )->m_flFeetYawRate = 0.f;
+ //get_animstate( )->m_flFeetYawRate = 0.f;
//why?
//because this calls pAttachmentHelper->CalcAbsVelocity
@@ -1001,7 +1001,7 @@ void c_base_player::fix_animations( bool reset, bool resolver_change ) {
m_angEyeAngles( ) = eye_angles;
m_flDuckAmount( ) = original_duck;
- get_animstate( )->m_flUnknownFraction = 0.f;
+ //get_animstate( )->m_flUnknownFraction = 0.f;
//clear occlusion for setupbones (pvs fix)
*( int* )( uintptr_t( this ) + 0xa30 ) = 0;