summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot_antiaim.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-14 21:46:28 +0200
committernavewindre <boneyaard@gmail.com>2018-09-14 21:46:28 +0200
commit559a0f5669f537e21f3d39780e6e3d77591ff8c1 (patch)
tree8a94df7f4fd12333e9a9bdb0d7086e7a70ef9e97 /internal_rewrite/ragebot_antiaim.cpp
parentb4748901d34d26bee517dea9655d2c0362c627f0 (diff)
a
Diffstat (limited to 'internal_rewrite/ragebot_antiaim.cpp')
-rw-r--r--internal_rewrite/ragebot_antiaim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/ragebot_antiaim.cpp b/internal_rewrite/ragebot_antiaim.cpp
index a80ecda..1a269d2 100644
--- a/internal_rewrite/ragebot_antiaim.cpp
+++ b/internal_rewrite/ragebot_antiaim.cpp
@@ -256,7 +256,7 @@ namespace features
if( fix_forward_move )
m_cmd->m_forwardmove *= -1.f;
- if( g_ctx.m_local->m_nMoveType( ) != MOVETYPE_LADDER ) {
+ if( g_ctx.m_local->m_nMoveType( ) != MOVETYPE_LADDER && g_settings.rage.fix_legs( ) ) {
if( m_cmd->m_forwardmove ) {
m_cmd->m_buttons &= ~( m_cmd->m_forwardmove < 0 ? IN_FORWARD : IN_BACK );
m_cmd->m_buttons |= ( m_cmd->m_forwardmove > 0 ? IN_FORWARD : IN_BACK );