diff options
| author | navewindre <boneyaard@gmail.com> | 2018-11-28 17:06:47 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-11-28 17:06:47 +0100 |
| commit | c163c5575af4d1e7755510b03a7cd7809869eeef (patch) | |
| tree | df472b7f2a26ffa076fdf27aa19e221008522b07 /cheat/internal_rewrite/extra.cpp | |
| parent | 96de4961c447d7009ba52b6bf04d4b7bfe487ab1 (diff) | |
i hate myself
Diffstat (limited to 'cheat/internal_rewrite/extra.cpp')
| -rw-r--r-- | cheat/internal_rewrite/extra.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cheat/internal_rewrite/extra.cpp b/cheat/internal_rewrite/extra.cpp index 2408e7f..6882f21 100644 --- a/cheat/internal_rewrite/extra.cpp +++ b/cheat/internal_rewrite/extra.cpp @@ -91,7 +91,7 @@ namespace features //arbitrary number much
float latency = 0.15f - ( in_latency + g_csgo.m_globals->m_frametime ) - TICK_INTERVAL( );
- if( g_settings.misc.net_fakeping_active && latency > 0.f ) {
+ if( g_settings.misc.net_fakelag && latency > 0.f ) {
channel->m_nInSequenceNr += 2 * 64 - ( 63 * latency );
}
}
@@ -122,18 +122,18 @@ namespace features void c_extra::money_talk( IGameEvent *evt ) {
static float last_time = 0.0f;
- if ( !g_csgo.m_engine( )->IsConnected( ) || !g_csgo.m_engine( )->IsInGame( ) ) {
+ if( !g_csgo.m_engine( )->IsConnected( ) || !g_csgo.m_engine( )->IsInGame( ) ) {
last_time = 0.0f;
}
- if ( !g_settings.misc.money_talk( ) )
+ if( !g_settings.misc.money_talk( ) )
return;
- if ( evt && !strcmp( evt->GetName( ), xors( "player_death" ) ) ) {
+ if( evt && !strcmp( evt->GetName( ), xors( "player_death" ) ) ) {
const int player = g_csgo.m_engine( )->GetPlayerForUserID( evt->GetInt( xors( "attacker" ) ) );
- if ( player == g_csgo.m_engine( )->GetLocalPlayer( ) ) {
- if ( last_time <= g_csgo.m_globals->m_curtime ) {
+ if( player == g_csgo.m_engine( )->GetLocalPlayer( ) ) {
+ if( last_time <= g_csgo.m_globals->m_curtime ) {
g_csgo.m_engine( )->ClientCmd( xors( "say god i wish i had moneybot" ) );
last_time = g_csgo.m_globals->m_curtime + 0.1f;
|
