mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-28 22:48:02 +03:00
parent
3284313a21
commit
acc1dcad6e
@ -460,6 +460,9 @@ BOOL CKnife::Stab(BOOL fFirst)
|
||||
if (fFirst)
|
||||
{
|
||||
SendWeaponAnim(KNIFE_STABMISS, UseDecrement() != FALSE);
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f;
|
||||
#endif
|
||||
|
||||
m_flNextPrimaryAttack = GetNextAttackDelay(1.0);
|
||||
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.0f;
|
||||
@ -480,6 +483,9 @@ BOOL CKnife::Stab(BOOL fFirst)
|
||||
fDidHit = TRUE;
|
||||
|
||||
SendWeaponAnim(KNIFE_STABHIT, UseDecrement() != FALSE);
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f;
|
||||
#endif
|
||||
|
||||
m_flNextPrimaryAttack = GetNextAttackDelay(1.1);
|
||||
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.1f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user