Merge pull request #2172 from fokkonaut/master

Fix #2162
This commit is contained in:
Dennis Felsing 2020-05-10 10:13:38 +02:00 committed by GitHub
commit 7aa69188b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,7 +367,7 @@ void CCharacter::FireWeapon()
if(CountInput(m_LatestPrevInput.m_Fire, m_LatestInput.m_Fire).m_Presses)
WillFire = true;
if(FullAuto && (m_LatestInput.m_Fire&1) && m_aWeapons[m_Core.m_ActiveWeapon].m_Ammo)
if(FullAuto && (m_LatestInput.m_Fire&1) && m_aWeapons[m_Core.m_ActiveWeapon].m_Ammo && !m_FreezeTime)
WillFire = true;
if(!WillFire)