summaryrefslogtreecommitdiff
path: root/internal_rewrite/context.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-09 18:28:04 +0200
committernavewindre <boneyaard@gmail.com>2018-09-09 18:28:04 +0200
commit215818ddedc02be3a1a5c2be3912abdbcd29dd72 (patch)
tree16453999d9380f43a6f436e491e63aa58ac7e764 /internal_rewrite/context.cpp
parent620f39df29fed446ab007e03c7b071f635379f1f (diff)
detours etc
Diffstat (limited to 'internal_rewrite/context.cpp')
-rw-r--r--internal_rewrite/context.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal_rewrite/context.cpp b/internal_rewrite/context.cpp
index 421bc06..9ec1f62 100644
--- a/internal_rewrite/context.cpp
+++ b/internal_rewrite/context.cpp
@@ -130,17 +130,6 @@ void c_context::reset_shot_queue( ) {
m_shot_data[ 0 ] = last_shot;
}
-void c_context::update_local_hook( ) {
- if( !run_frame( ) )
- return;
-
- auto func = util::get_vfunc< void* >( m_local, 218 );
- if( func != &hooks::update_clientside_animation || g_csgo.m_local( ) != m_local ) {
- g_csgo.m_local( m_local );
- g_csgo.m_local->hook( 218, &hooks::update_clientside_animation );
- }
-}
-
//predicted servertime of player, use this for breaking lby etc
float c_context::pred_time( ) {
calculate_tickbase( );