[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

@ -1956,6 +1956,7 @@ void WorldObject::PlayDirectSound(uint32 sound_id, Player* target /*= NULL*/)
{
WorldPacket data(SMSG_PLAY_SOUND, 4);
data << uint32(sound_id);
data << ObjectGuid();
if (target)
target->SendDirectMessage(&data);
else