summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-11-29 00:39:36 +0100
committernavewindre <boneyaard@gmail.com>2018-11-29 00:39:36 +0100
commitb9553f431e432204be568755c175d9e7e081b6dd (patch)
tree02d56a1303c8d7a47982b5b53cb6ed4b77ed82cd /cheat/internal_rewrite
parentf3e9e0adc48dc6a78527a078c847f326cfd21469 (diff)
yea
Diffstat (limited to 'cheat/internal_rewrite')
-rw-r--r--cheat/internal_rewrite/ragebot_antiaim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cheat/internal_rewrite/ragebot_antiaim.cpp b/cheat/internal_rewrite/ragebot_antiaim.cpp
index b391100..33cc046 100644
--- a/cheat/internal_rewrite/ragebot_antiaim.cpp
+++ b/cheat/internal_rewrite/ragebot_antiaim.cpp
@@ -895,7 +895,7 @@ namespace features
ent->m_vecOrigin( ),
g_ctx.m_local->m_vecOrigin( ) );
- yaw = ang.y + m_direction ? -90.f : 90.f;
+ yaw = std::remainderf( ang.y + ( m_direction ? -90.f : 90.f ), 360.f );
}
}
else {