From beb5515757c0e653adc33f181184fe3791ca0a6b Mon Sep 17 00:00:00 2001 From: navewindre Date: Sat, 1 Sep 2018 14:23:02 +0200 Subject: dasdadasf --- internal_rewrite/update_clientside_animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal_rewrite/update_clientside_animation.cpp') diff --git a/internal_rewrite/update_clientside_animation.cpp b/internal_rewrite/update_clientside_animation.cpp index 4653fa6..e05d6c2 100644 --- a/internal_rewrite/update_clientside_animation.cpp +++ b/internal_rewrite/update_clientside_animation.cpp @@ -44,7 +44,7 @@ void __fastcall hooks::update_clientside_animation( void* ecx_, void* edx_ ) { vec3_t real_angle = g_ctx.m_thirdperson_angle; float min_pitch = 10.0f; - if( g_ctx.m_local->get_animstate( )->m_bInHitGroundAnimation ) { + if( g_ctx.m_local->get_animstate( )->m_bInHitGroundAnimation && ( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) ) { if( real_angle.x > min_pitch ) { real_angle.x = -min_pitch; } -- cgit v1.2.3