diff options
Diffstat (limited to 'cheat/internal_rewrite/ragebot_antiaim.cpp')
| -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 {
|
