From 4a704a8e55515965eb6bcf13b352f1d3eea4bc87 Mon Sep 17 00:00:00 2001 From: Lewdcifer <83784372+Lewdcifer@users.noreply.github.com> Date: Sun, 9 May 2021 22:50:05 +0800 Subject: [PATCH] Add the thermal thruster to ignored weapons in rapidfire (#1457) Added Thermal Thruster to ignore --- src/hacks/Warp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hacks/Warp.cpp b/src/hacks/Warp.cpp index 4a3a5a1b..b740a1f5 100644 --- a/src/hacks/Warp.cpp +++ b/src/hacks/Warp.cpp @@ -198,8 +198,8 @@ bool shouldRapidfire() if (CE_BAD(LOCAL_E) || !LOCAL_E->m_bAlivePlayer() || CE_BAD(LOCAL_W)) return false; - // Weapon specific ignores, knives, Huntsman, Mediguns, and the grappling hook - if (re::C_TFWeaponBase::GetWeaponID(RAW_ENT(LOCAL_W)) == 7 || LOCAL_W->m_iClassID() == CL_CLASS(CTFCompoundBow) || LOCAL_W->m_iClassID() == CL_CLASS(CWeaponMedigun) || LOCAL_W->m_iClassID() == CL_CLASS(CTFGrapplingHook)) + // Weapon specific ignores, knives, Thermal Thruster, Huntsman, Mediguns, and the grappling hook + if (re::C_TFWeaponBase::GetWeaponID(RAW_ENT(LOCAL_W)) == 7 || LOCAL_W->m_iClassID() == CL_CLASS(CTFRocketPack) || LOCAL_W->m_iClassID() == CL_CLASS(CTFCompoundBow) || LOCAL_W->m_iClassID() == CL_CLASS(CWeaponMedigun) || LOCAL_W->m_iClassID() == CL_CLASS(CTFGrapplingHook)) return false; // Ignore throwables/consumables/etc