From b9553f431e432204be568755c175d9e7e081b6dd Mon Sep 17 00:00:00 2001 From: navewindre Date: Thu, 29 Nov 2018 00:39:36 +0100 Subject: yea --- cheat/internal_rewrite/ragebot_antiaim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cheat') 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 { -- cgit v1.2.3