mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-11 21:11:08 +00:00
Fix crowbar smack think time
This commit is contained in:
parent
c8ad4a45e5
commit
2a1867bedf
@ -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…
x
Reference in New Issue
Block a user