diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-28 19:59:15 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-28 19:59:15 +0200 |
| commit | 66dcb4cdcdb0d3efce0ba74c0c5ad79bc7c51111 (patch) | |
| tree | 2d2e1d67fc4f997688bd1560c94bf863a661eda4 /internal_rewrite/update_clientside_animation.cpp | |
| parent | 85434a853957ae5315594f72561dd1a745549727 (diff) | |
a
Diffstat (limited to 'internal_rewrite/update_clientside_animation.cpp')
| -rw-r--r-- | internal_rewrite/update_clientside_animation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal_rewrite/update_clientside_animation.cpp b/internal_rewrite/update_clientside_animation.cpp index 5e99e95..69f8607 100644 --- a/internal_rewrite/update_clientside_animation.cpp +++ b/internal_rewrite/update_clientside_animation.cpp @@ -32,6 +32,7 @@ void __fastcall hooks::update_clientside_animation( void* ecx_, void* edx_ ) { old_func( ecx_, edx_ );
if( !first_update ) {
+ g_ctx.m_local->restore_anim_data( true );
ent->set_abs_angles( vec3_t( 0, ent->get_animstate( )->m_flGoalFeetYaw, 0 ) );
bool backup = ent->get_animstate( )->m_bOnGround;
|
