Move comment aswell

This commit is contained in:
fokkonaut 2020-04-30 11:49:04 +02:00 committed by GitHub
parent da72907b79
commit d460470265
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,6 +375,7 @@ void CCharacter::FireWeapon()
if (m_FreezeTime)
{
// Timer stuff to avoid shrieking orchestra caused by unfreeze-plasma
if(m_PainSoundTimer<=0)
{
m_PainSoundTimer = 1 * Server()->TickSpeed();
@ -389,7 +390,6 @@ void CCharacter::FireWeapon()
/*// 125ms is a magical limit of how fast a human can click
m_ReloadTimer = 125 * Server()->TickSpeed() / 1000;
GameServer()->CreateSound(m_Pos, SOUND_WEAPON_NOAMMO);*/
// Timer stuff to avoid shrieking orchestra caused by unfreeze-plasma
return;
}