mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fix bug in weapons antiping (getting lasered in freeze)
This commit is contained in:
parent
99c928fc17
commit
ff8791681f
|
@ -588,7 +588,7 @@ void CCharacter::HandleWeapons()
|
|||
}
|
||||
|
||||
// fire Weapon, if wanted
|
||||
//FireWeapon();
|
||||
FireWeapon();
|
||||
/*
|
||||
// ammo regen
|
||||
int AmmoRegenTime = g_pData->m_Weapons.m_aId[m_Core.m_ActiveWeapon].m_Ammoregentime;
|
||||
|
@ -818,8 +818,6 @@ void CCharacter::TickDefered()
|
|||
m_Core.m_pReset = false;
|
||||
}
|
||||
}
|
||||
|
||||
FireWeapon();
|
||||
}
|
||||
|
||||
void CCharacter::TickPaused()
|
||||
|
|
Loading…
Reference in a new issue