diff options
| author | navewindre <boneyaard@gmail.com> | 2018-12-19 12:10:18 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-12-19 12:10:18 +0100 |
| commit | fccbfbed0e066a2456d6443405d599b5bc93affa (patch) | |
| tree | b3caffdbfb804eb3a25d360674f8b5eeefb4021c /cheat/internal_rewrite/update_clientside_animation.cpp | |
| parent | 77b52da44b263df4884be2f35f885d8edccbb6fa (diff) | |
x
Diffstat (limited to 'cheat/internal_rewrite/update_clientside_animation.cpp')
| -rw-r--r-- | cheat/internal_rewrite/update_clientside_animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|
