mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue