mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[12172] Struc Update for SMSG_PLAY_SOUND and Update + Enable SMSG_UPDATE_WORLD_STATE. Thanks Zakamurite
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
26f25feda8
commit
dcc57439a7
6 changed files with 7 additions and 4 deletions
|
|
@ -1935,6 +1935,7 @@ void Map::PlayDirectSoundToMap(uint32 soundId, uint32 zoneId /*=0*/)
|
|||
{
|
||||
WorldPacket data(SMSG_PLAY_SOUND, 4);
|
||||
data << uint32(soundId);
|
||||
data << ObjectGuid();
|
||||
|
||||
Map::PlayerList const& pList = GetPlayers();
|
||||
for (PlayerList::const_iterator itr = pList.begin(); itr != pList.end(); ++itr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue