Browse Source

Place rapid crowbar fix under a macro

half-secret
Roman Chistokhodov 5 years ago
parent
commit
3fcc119275
  1. 2
      dlls/crowbar.cpp

2
dlls/crowbar.cpp

@ -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…
Cancel
Save