mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-26 06:34:23 +00:00
Remove redundant assignment to m_flTimeWeaponIdle in CSatchel::Deploy
This commit is contained in:
parent
12a2aeb3c1
commit
058626fc18
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user