diff --git a/src/hacks/LagExploit.cpp b/src/hacks/LagExploit.cpp index 7dbca7a9..8a70bfcb 100644 --- a/src/hacks/LagExploit.cpp +++ b/src/hacks/LagExploit.cpp @@ -158,8 +158,10 @@ void CreateMove() amount = 2 * 90; } } - else if (CanShoot() && bIsHolding && !bWasHolding) - amount = 1 * 90; + else if (CanShoot() && bIsHolding && !bWasHolding && g_pLocalPlayer->weapon()->m_iClassID != CL_CLASS(CTFFlareGun)) + amount = 1 * 90; + else if (CanShoot() && bIsHolding && !bWasHolding && g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFFlareGun)) + amount = 2 * 90; else if (bWasHolding && !bIsHolding) amount = 1 * 90; @@ -172,8 +174,10 @@ void CreateMove() { if (not g_pLocalPlayer->holding_sniper_rifle) { - if (CanShoot() && bIsHolding && !bWasHolding) + if (CanShoot() && bIsHolding && !bWasHolding && g_pLocalPlayer->weapon()->m_iClassID != CL_CLASS(CTFFlareGun)) amount = 1 * 90; + else if (CanShoot() && bIsHolding && !bWasHolding && g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFFlareGun)) + amount = 2 * 90; else if (bWasHolding && !bIsHolding) amount = 1 * 90; bWasHolding = (g_pUserCmd->buttons & IN_ATTACK) ||