mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +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;
|
m_pPlayer->m_iWeaponVolume = CROWBAR_BODYHIT_VOLUME;
|
||||||
if( !pEntity->IsAlive() )
|
if( !pEntity->IsAlive() )
|
||||||
|
{
|
||||||
|
m_flNextPrimaryAttack = GetNextAttackDelay(0.25);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
flVol = 0.1;
|
flVol = 0.1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user