Sync crowbar.cpp with master (#312)

This commit is contained in:
Roman Chistokhodov 2022-08-08 02:18:09 +03:00 committed by GitHub
parent e146c3bf65
commit 0d7cea5756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,7 +337,7 @@ int CCrowbar::Swing( int fFirst )
SetThink( &CCrowbar::Smack ); SetThink( &CCrowbar::Smack );
pev->nextthink = gpGlobals->time + 0.2f; pev->nextthink = gpGlobals->time + 0.2f;
#endif #endif
#ifdef CROWBAR_DELAY_FIX #if CROWBAR_DELAY_FIX
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25f; m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25f;
#else #else
m_flNextPrimaryAttack = GetNextAttackDelay( 0.25f ); m_flNextPrimaryAttack = GetNextAttackDelay( 0.25f );