mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01: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()
|
||||
{
|
||||
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;
|
||||
|
||||
if( m_chargeReady )
|
||||
@ -310,7 +306,6 @@ BOOL CSatchel::Deploy()
|
||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 2.0f;
|
||||
}
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user