Core/PacketIO: Fixed SMSG_PLAY_SOUND structure

This commit is contained in:
Shauren
2013-06-01 17:49:33 +02:00
parent 09190c7e23
commit 7d64b56db1
7 changed files with 10 additions and 2 deletions

View File

@@ -242,6 +242,7 @@ class instance_deadmines : public InstanceMapScript
{
WorldPacket data(SMSG_PLAY_SOUND, 4);
data << uint32(sound);
data << uint64(unit->GetGUID());
unit->SendMessageToSet(&data, false);
}
};

View File

@@ -222,7 +222,8 @@ public:
i->getSource()->GetSession()->SendPacket(&packet);
WorldPacket data2(SMSG_PLAY_SOUND, 4);
data2 << 10986;
data2 << uint32(10986);
data2 << uint64(unit->GetGUID());
i->getSource()->GetSession()->SendPacket(&data2);
}
}