Place rapid crowbar fix under a macro

This commit is contained in:
Roman Chistokhodov 2019-10-16 01:49:02 +03:00
parent b349bbfd82
commit 3fcc119275
1 changed files with 2 additions and 0 deletions

View File

@ -288,7 +288,9 @@ int CCrowbar::Swing( int fFirst )
m_pPlayer->m_iWeaponVolume = CROWBAR_BODYHIT_VOLUME;
if( !pEntity->IsAlive() )
{
#ifdef CROWBAR_FIX_RAPID_CROWBAR
m_flNextPrimaryAttack = GetNextAttackDelay(0.25);
#endif
return TRUE;
}
else