Double promotion fix.

This commit is contained in:
Andrey Akhmichin 2021-06-06 04:11:36 +05:00
parent b4502f7133
commit 06dd8a63cd
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ void CGauss::SecondaryAttack()
// out of ammo! force the gun to fire
StartFire();
m_fInAttack = 0;
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 1.0;
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 1.0f;
m_pPlayer->m_flNextAttack = UTIL_WeaponTimeBase() + 1;
return;
}