From 044a9cc80f69066f823aee65e8ba55ac525e49e2 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Thu, 27 Jul 2017 22:01:21 +0300 Subject: [PATCH] actually implemented auto spin up, close #230 --- src/hacks/Aimbot.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index 14d779dd..94e6e980 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -293,6 +293,9 @@ bool ShouldAim() { if ((weapon_state == MinigunState_t::AC_STATE_IDLE || weapon_state == MinigunState_t::AC_STATE_STARTFIRING) && !auto_spin_up) { return false; } + if (auto_spin_up) { + g_pUserCmd->buttons |= IN_ATTACK2; + } if (!(g_pUserCmd->buttons & (IN_ATTACK2 | IN_ATTACK))) { return false; }