mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
No fucking gunfire sound when using jetpack
This commit is contained in:
parent
34c39b43f0
commit
4a11befaf4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue