mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11952] Add support to send the anim for SMSG_TAMEOBJECT_CUSTOM_ANIM
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
f153193a02
commit
a66a40dc99
3 changed files with 4 additions and 4 deletions
|
|
@ -1520,11 +1520,11 @@ void WorldObject::SendObjectDeSpawnAnim(ObjectGuid guid)
|
|||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
void WorldObject::SendGameObjectCustomAnim(ObjectGuid guid)
|
||||
void WorldObject::SendGameObjectCustomAnim(ObjectGuid guid, uint32 animId /*= 0*/)
|
||||
{
|
||||
WorldPacket data(SMSG_GAMEOBJECT_CUSTOM_ANIM, 8+4);
|
||||
data << ObjectGuid(guid);
|
||||
data << uint32(0); // not known what this is
|
||||
data << uint32(animId);
|
||||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue