Core/PacketIO: Fixed SMSG_PLAY_SOUND structure

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

No files matched your search

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