diff options
| author | navewindre <boneyaard@gmail.com> | 2018-11-29 00:39:36 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-11-29 00:39:36 +0100 |
| commit | b9553f431e432204be568755c175d9e7e081b6dd (patch) | |
| tree | 02d56a1303c8d7a47982b5b53cb6ed4b77ed82cd /cheat | |
| parent | f3e9e0adc48dc6a78527a078c847f326cfd21469 (diff) | |
yea
Diffstat (limited to 'cheat')
| -rw-r--r-- | cheat/internal_rewrite/ragebot_antiaim.cpp | 2 |
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 {
|
