summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <azeem@live.ru>2018-11-03 11:54:29 +0000
committerUnknown <azeem@live.ru>2018-11-03 11:54:29 +0000
commitd106396b02c486c9135c505ed82b73431f2c27de (patch)
treee5d13778cab171966a62d7563db181a03bf4d090
parent90c1619363d89e0ab041f72945b36cfde8b2917a (diff)
parentcde80b283978aa4143ab5e06e0e56e8905eb2b4d (diff)
Merge remote-tracking branch 'origin/master'
-rw-r--r--internal_rewrite/begin_lock.cpp2
-rw-r--r--internal_rewrite/update_clientside_animation.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/internal_rewrite/begin_lock.cpp b/internal_rewrite/begin_lock.cpp
index 71b1ef1..0210417 100644
--- a/internal_rewrite/begin_lock.cpp
+++ b/internal_rewrite/begin_lock.cpp
@@ -16,6 +16,8 @@ void __fastcall hooks::begin_lock( void* ecx, void* edx ) { // THIS IS PROLLY NO
g_cheat.m_visuals.world_modulate( );
+ g_ctx.m_local->cache_anim_data( );
+
/*
if( g_settings.rage.anti_aim && g_ctx.run_frame( ) ) {
diff --git a/internal_rewrite/update_clientside_animation.cpp b/internal_rewrite/update_clientside_animation.cpp
index a1007fe..69f8607 100644
--- a/internal_rewrite/update_clientside_animation.cpp
+++ b/internal_rewrite/update_clientside_animation.cpp
@@ -32,7 +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 );
+ 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;