From b349bbfd82cde50181c94ccab725560b22cb0461 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Mon, 8 Jul 2019 21:11:06 +0300 Subject: [PATCH] Fix rapid crowbar bug --- dlls/crowbar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/crowbar.cpp b/dlls/crowbar.cpp index 8a0ba9a3..e08a64fb 100644 --- a/dlls/crowbar.cpp +++ b/dlls/crowbar.cpp @@ -287,7 +287,10 @@ int CCrowbar::Swing( int fFirst ) } m_pPlayer->m_iWeaponVolume = CROWBAR_BODYHIT_VOLUME; if( !pEntity->IsAlive() ) + { + m_flNextPrimaryAttack = GetNextAttackDelay(0.25); return TRUE; + } else flVol = 0.1;