From 2ace6a93f00f75f9a9058a698e705c7eaed04b2b Mon Sep 17 00:00:00 2001 From: Stephen Martin <93275421+STEVE4git@users.noreply.github.com> Date: Sun, 17 Jul 2022 15:28:37 -0400 Subject: [PATCH] Shortest distance priority mode got removed somehow (#1706) * shortest distance prio mode got removed somehow * Forgot break statement --- src/hacks/Aimbot.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index 45ee1272..3b1a6704 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -801,6 +801,11 @@ CachedEntity *RetrieveBestTarget(bool aimkey_state) scr = 360.0f - calculated_data_array[ent->m_IDX].fov; break; } + case 2: + { + scr = 4096.0f - calculated_data_array[i].aim_position.DistTo(g_pLocalPlayer->v_Eye); + break; + } case 3: // Health Priority (Lowest) { scr = 450.0f - ent->m_iHealth();