No fucking gunfire sound when using jetpack

This commit is contained in:
def 2014-10-25 03:01:55 +02:00
parent 34c39b43f0
commit 4a11befaf4

View file

@ -451,7 +451,9 @@ void CCharacter::FireWeapon()
Msg.AddInt(((int *)&p)[i]);
Server()->SendMsg(&Msg, 0, m_pPlayer->GetCID());
GameServer()->CreateSound(m_Pos, SOUND_GUN_FIRE, Teams()->TeamMask(Team(), -1, m_pPlayer->GetCID()));
if(!m_Jetpack)
GameServer()->CreateSound(m_Pos, SOUND_GUN_FIRE, Teams()->TeamMask(Team(), -1, m_pPlayer->GetCID()));
}
} break;