mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
Place rapid crowbar fix under a macro
This commit is contained in:
parent
b349bbfd82
commit
3fcc119275
@ -288,7 +288,9 @@ 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() )
|
||||||
{
|
{
|
||||||
|
#ifdef CROWBAR_FIX_RAPID_CROWBAR
|
||||||
m_flNextPrimaryAttack = GetNextAttackDelay(0.25);
|
m_flNextPrimaryAttack = GetNextAttackDelay(0.25);
|
||||||
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user