[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:
Salja 2012-09-03 11:47:22 +02:00 committed by Antz
parent 26f25feda8
commit dcc57439a7
6 changed files with 7 additions and 4 deletions

View file

@ -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)