Merge pull request #158 from FreeSlave/crowbar_smack_think_time

Fix crowbar smack think time
This commit is contained in:
nekonomicon 2021-02-27 14:03:51 +00:00 committed by GitHub
commit 8076a58366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;