mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Fix rapid crowbar bug
This commit is contained in:
parent
f6135287e6
commit
b349bbfd82
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user