Core/Chat: Send broadcast text id in sound packets to allow playing encrypted sound files

Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4609f6e18c181fbb54ec851a9ccd5bd3c6eb7b)
This commit is contained in:
hondacrx
2020-12-31 21:00:19 -05:00
parent 87c54f63ec
commit 10c1adf2d8
8 changed files with 18 additions and 13 deletions
+2 -2
View File
@@ -567,12 +567,12 @@ namespace Game.BattleGrounds
public void PlaySoundToAll(uint soundID)
{
SendPacketToAll(new PlaySound(ObjectGuid.Empty, soundID));
SendPacketToAll(new PlaySound(ObjectGuid.Empty, soundID, 0));
}
void PlaySoundToTeam(uint soundID, Team team)
{
SendPacketToTeam(team, new PlaySound(ObjectGuid.Empty, soundID));
SendPacketToTeam(team, new PlaySound(ObjectGuid.Empty, soundID, 0));
}
public void CastSpellOnTeam(uint SpellID, Team team)