diff options
| author | Unknown <azeem@live.ru> | 2018-10-12 16:04:28 +0100 |
|---|---|---|
| committer | Unknown <azeem@live.ru> | 2018-10-12 16:04:28 +0100 |
| commit | b069eb51f206e352762f835908c64a8939fb77ce (patch) | |
| tree | b74ea1eb557840b87da7a793534131e12460d0de /internal_rewrite/begin_lock.cpp | |
| parent | 88bc6c4684c889dedc5d70904ea7e3a74e4b501d (diff) | |
fix
Diffstat (limited to 'internal_rewrite/begin_lock.cpp')
| -rw-r--r-- | internal_rewrite/begin_lock.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/internal_rewrite/begin_lock.cpp b/internal_rewrite/begin_lock.cpp index 2269a13..5d92fec 100644 --- a/internal_rewrite/begin_lock.cpp +++ b/internal_rewrite/begin_lock.cpp @@ -15,17 +15,16 @@ void __fastcall hooks::begin_lock( void* ecx, void* edx ) { // THIS IS PROLLY NO g_ctx.m_stage = FRAME_NET_UPDATE_POSTDATAUPDATE_START;
g_cheat.m_visuals.world_modulate( );
- /*
- if( g_settings.rage.anti_aim && g_ctx.run_frame( ) ) {
+ if ( g_settings.rage.anti_aim && g_ctx.run_frame( ) ) {
static float last_time = 0.f;
- if( last_time != g_ctx.m_local->get_animstate( )->m_flLastClientSideAnimationUpdateTime ) {
+ if ( last_time != g_ctx.m_local->get_animstate( )->m_flLastClientSideAnimationUpdateTime ) {
auto& anims = g_ctx.m_local->get_animdata( ).m_animlayers;
- for( size_t i{ }; i < 13; ++i ) {
+ for ( size_t i{ }; i < 13; ++i ) {
auto& layer = g_ctx.m_local->m_AnimOverlay( ).GetElements( )[ i ];
- if( layer.m_flWeight != anims.at( i ).m_flWeight || layer.m_flCycle != anims.at( i ).m_flCycle ) {
+ if ( layer.m_flWeight != anims.at( i ).m_flWeight || layer.m_flCycle != anims.at( i ).m_flCycle ) {
memcpy( &g_ctx.m_local->get_animdata( ).m_animlayers,
g_ctx.m_local->m_AnimOverlay( ).GetElements( ),
sizeof( C_AnimationLayer ) * 13 );
@@ -36,7 +35,6 @@ void __fastcall hooks::begin_lock( void* ecx, void* edx ) { // THIS IS PROLLY NO }
}
}
- */
//g_con->game_console_print( "net postdataupdate start\n" );
|
