mirror of https://github.com/FWGS/hlsdk-xash3d
Merge pull request #158 from FreeSlave/crowbar_smack_think_time
Fix crowbar smack think time
This commit is contained in:
commit
8076a58366
|
@ -335,7 +335,7 @@ int CCrowbar::Swing( int fFirst )
|
|||
m_pPlayer->m_iWeaponVolume = (int)( flVol * CROWBAR_WALLHIT_VOLUME );
|
||||
|
||||
SetThink( &CCrowbar::Smack );
|
||||
pev->nextthink = UTIL_WeaponTimeBase() + 0.2f;
|
||||
pev->nextthink = gpGlobals->time + 0.2f;
|
||||
#endif
|
||||
#if CROWBAR_DELAY_FIX
|
||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25f;
|
||||
|
|
Loading…
Reference in New Issue