Fix crowbar smack think time

This commit is contained in:
Roman Chistokhodov 2021-02-27 14:37:12 +03:00
parent c8ad4a45e5
commit 2a1867bedf
1 changed files with 1 additions and 1 deletions

View File

@ -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;