mirror of https://github.com/FWGS/hlsdk-xash3d
Fix rapid swing bug for poolstick (#400)
This commit is contained in:
parent
991761c5b8
commit
67fcab8532
|
@ -286,7 +286,12 @@ int CPoolstick::Swing( int fFirst )
|
||||||
}
|
}
|
||||||
m_pPlayer->m_iWeaponVolume = POOLSTICK_BODYHIT_VOLUME;
|
m_pPlayer->m_iWeaponVolume = POOLSTICK_BODYHIT_VOLUME;
|
||||||
if ( !pEntity->IsAlive() )
|
if ( !pEntity->IsAlive() )
|
||||||
|
{
|
||||||
|
#if CROWBAR_FIX_RAPID_CROWBAR
|
||||||
|
m_flNextPrimaryAttack = GetNextAttackDelay(0.25);
|
||||||
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
flVol = 0.1;
|
flVol = 0.1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue