From fccbfbed0e066a2456d6443405d599b5bc93affa Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 19 Dec 2018 12:10:18 +0100 Subject: x --- cheat/internal_rewrite/update_clientside_animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cheat/internal_rewrite/update_clientside_animation.cpp') diff --git a/cheat/internal_rewrite/update_clientside_animation.cpp b/cheat/internal_rewrite/update_clientside_animation.cpp index 622fc46..9a0dd2b 100644 --- a/cheat/internal_rewrite/update_clientside_animation.cpp +++ b/cheat/internal_rewrite/update_clientside_animation.cpp @@ -34,7 +34,7 @@ void __fastcall hooks::update_clientside_animation( void* ecx_, void* edx_ ) { if( !first_update ) { g_ctx.m_local->restore_anim_data( true ); - ent->set_abs_angles( vec3_t( 0, g_ctx.m_absyaw, 0 ) ); + ent->set_abs_angles( vec3_t( 0, ent->get_animstate( )->m_flGoalFeetYaw, 0 ) ); bool backup = ent->get_animstate( )->m_bOnGround; ent->get_animstate( )->m_bOnGround = false; -- cgit v1.2.3