mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
commit
7aa69188b5
|
@ -367,7 +367,7 @@ void CCharacter::FireWeapon()
|
||||||
if(CountInput(m_LatestPrevInput.m_Fire, m_LatestInput.m_Fire).m_Presses)
|
if(CountInput(m_LatestPrevInput.m_Fire, m_LatestInput.m_Fire).m_Presses)
|
||||||
WillFire = true;
|
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;
|
WillFire = true;
|
||||||
|
|
||||||
if(!WillFire)
|
if(!WillFire)
|
||||||
|
|
Loading…
Reference in a new issue