From 8e5167ee48ba4c223eef0cfdc4d73015cf6707d2 Mon Sep 17 00:00:00 2001 From: r4klatif <49956509+r4klatif@users.noreply.github.com> Date: Fri, 20 May 2022 06:39:48 +0200 Subject: [PATCH] Update csgo_playeranimstate.cpp --- game/shared/cstrike15/csgo_playeranimstate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/shared/cstrike15/csgo_playeranimstate.cpp b/game/shared/cstrike15/csgo_playeranimstate.cpp index ba2891748..0901625fe 100644 --- a/game/shared/cstrike15/csgo_playeranimstate.cpp +++ b/game/shared/cstrike15/csgo_playeranimstate.cpp @@ -1,4 +1,4 @@ - //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// + //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // @@ -2377,7 +2377,7 @@ void CCSGOPlayerAnimState::SetUpVelocity( void ) } #ifndef CLIENT_DLL - if ( m_flVelocityLengthXY <= CS_PLAYER_SPEED_STOPPED && m_bOnGround && !m_bOnLadder && !m_bLanding && m_flLastUpdateIncrement > 0 && abs( AngleDiff( m_flFootYawLast, m_flFootYaw ) / m_flLastUpdateIncrement > CSGO_ANIM_READJUST_THRESHOLD ) ) + if ( m_flVelocityLengthXY <= CS_PLAYER_SPEED_STOPPED && m_bOnGround && !m_bOnLadder && !m_bLanding && m_flLastUpdateIncrement > 0 && abs( AngleDiff( m_flFootYawLast, m_flFootYaw ) / m_flLastUpdateIncrement ) > CSGO_ANIM_READJUST_THRESHOLD ) { SetLayerSequence( ANIMATION_LAYER_ADJUST, SelectSequenceFromActMods( ACT_CSGO_IDLE_TURN_BALANCEADJUST ) ); m_bAdjustStarted = true;