mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
USP: Fixed jitter effect when playing an animation of adding a silencer.
This commit is contained in:
parent
80069a1f1e
commit
0ff845620b
@ -493,11 +493,17 @@ public:
|
||||
};
|
||||
|
||||
|
||||
const float USP_MAX_SPEED = 250.0f;
|
||||
const float USP_DAMAGE = 34.0f;
|
||||
const float USP_DAMAGE_SIL = 30.0f;
|
||||
const float USP_RANGE_MODIFER = 0.79f;
|
||||
const float USP_RELOAD_TIME = 2.7f;
|
||||
const float USP_MAX_SPEED = 250.0f;
|
||||
const float USP_DAMAGE = 34.0f;
|
||||
const float USP_DAMAGE_SIL = 30.0f;
|
||||
const float USP_RANGE_MODIFER = 0.79f;
|
||||
const float USP_RELOAD_TIME = 2.7f;
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
const float USP_ADJUST_SIL_TIME = 3.13f;
|
||||
#else
|
||||
const float USP_ADJUST_SIL_TIME = 3.0f;
|
||||
#endif
|
||||
|
||||
enum usp_e
|
||||
{
|
||||
|
@ -108,8 +108,8 @@ void CUSP::SecondaryAttack()
|
||||
Q_strcpy(m_pPlayer->m_szAnimExtention, "onehanded");
|
||||
}
|
||||
|
||||
m_flNextSecondaryAttack = m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 3.0f;
|
||||
m_flNextPrimaryAttack = GetNextAttackDelay(3.0);
|
||||
m_flNextSecondaryAttack = m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + USP_ADJUST_SIL_TIME;
|
||||
m_flNextPrimaryAttack = GetNextAttackDelay(USP_ADJUST_SIL_TIME);
|
||||
}
|
||||
|
||||
void CUSP::PrimaryAttack()
|
||||
|
Loading…
x
Reference in New Issue
Block a user