diff options
| author | boris <wzn@moneybot.cc> | 2018-11-29 14:09:36 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-29 14:09:36 +1300 |
| commit | 5cfdfbf7d0436a54739d210e2acd097be58188de (patch) | |
| tree | 9d87df1711cfda82d59cb250574aeb8a3b6decc9 /cheat | |
| parent | 64bf2cc1c0ae18adbebfb7afa29268de3f529ce0 (diff) | |
| parent | b9553f431e432204be568755c175d9e7e081b6dd (diff) | |
Merge remote-tracking branch 'origin/master'
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 {
|
