Remove redundant assignment to m_flTimeWeaponIdle in CSatchel::Deploy

This commit is contained in:
Roman Chistokhodov 2022-07-19 12:29:32 +03:00
parent 12a2aeb3c1
commit 058626fc18
1 changed files with 0 additions and 5 deletions

View File

@ -293,10 +293,6 @@ BOOL CSatchel::CanDeploy( void )
BOOL CSatchel::Deploy() BOOL CSatchel::Deploy()
{ {
m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1.0f; m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1.0f;
#if !WEAPONS_ANIMATION_TIMES_FIX
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->random_seed, 10.0f, 15.0f );
#endif
BOOL result; BOOL result;
if( m_chargeReady ) if( m_chargeReady )
@ -310,7 +306,6 @@ BOOL CSatchel::Deploy()
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f; m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f;
} }
#endif #endif
return result; return result;
} }