diff options
| author | navewindre <boneyaard@gmail.com> | 2018-12-25 20:27:23 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-12-25 20:27:23 +0100 |
| commit | 2f8e2c585c14ec4bae7b31d17799d56ea3e50348 (patch) | |
| tree | 7fd2f371fc24a3c3f253db498fd44d8b9f80a39e /cheat/internal_rewrite/visual_local.cpp | |
| parent | 8be3f19c8ace79135a593ac697751579fa1a0998 (diff) | |
dsad
Diffstat (limited to 'cheat/internal_rewrite/visual_local.cpp')
| -rw-r--r-- | cheat/internal_rewrite/visual_local.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cheat/internal_rewrite/visual_local.cpp b/cheat/internal_rewrite/visual_local.cpp index b9521a8..0cc08b8 100644 --- a/cheat/internal_rewrite/visual_local.cpp +++ b/cheat/internal_rewrite/visual_local.cpp @@ -157,7 +157,9 @@ namespace features }
if( g_settings.rage.fake_yaw && g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) {
- float max = 57.5f;
+ auto state = g_ctx.m_local->get_animstate( );
+
+ float max = *( float* )( state + 0x334 );
float delta = g_cheat.m_ragebot.m_antiaim->desync_delta( );
float percent = delta / max;
|
