mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/PacketIO: Fixed SMSG_PLAY_SOUND structure
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user