diff options
| -rw-r--r-- | internal_rewrite/begin_lock.cpp | 10 | ||||
| -rw-r--r-- | internal_rewrite/c_base_player.hpp | 2 |
2 files changed, 5 insertions, 7 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" );
diff --git a/internal_rewrite/c_base_player.hpp b/internal_rewrite/c_base_player.hpp index 959d43d..2f3a4c0 100644 --- a/internal_rewrite/c_base_player.hpp +++ b/internal_rewrite/c_base_player.hpp @@ -156,7 +156,7 @@ struct CCSGOPlayerAnimState void reset( ); - char pad[ 3 ]; + char pad[ 4 ]; char bUnknown; //0x4 char pad2[ 91 ]; void* pBaseEntity; //0x60 |
