From 67fcab853290983db4ad514208bcff22fd600d29 Mon Sep 17 00:00:00 2001 From: "M.Millar" <62162171+mmillar-bolis@users.noreply.github.com> Date: Thu, 26 Oct 2023 05:33:10 -0700 Subject: [PATCH] Fix rapid swing bug for poolstick (#400) --- dlls/asheep/poolstick.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/asheep/poolstick.cpp b/dlls/asheep/poolstick.cpp index 25a880fd..d4003c91 100644 --- a/dlls/asheep/poolstick.cpp +++ b/dlls/asheep/poolstick.cpp @@ -286,7 +286,12 @@ int CPoolstick::Swing( int fFirst ) } m_pPlayer->m_iWeaponVolume = POOLSTICK_BODYHIT_VOLUME; if ( !pEntity->IsAlive() ) + { +#if CROWBAR_FIX_RAPID_CROWBAR + m_flNextPrimaryAttack = GetNextAttackDelay(0.25); +#endif return TRUE; + } else flVol = 0.1;