mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10960] Send SMSG_DISMOUNT to client.
As know no any affect in work from it.
This commit is contained in:
parent
7828ee18ad
commit
3a99027a80
2 changed files with 6 additions and 2 deletions
|
|
@ -7651,7 +7651,11 @@ void Unit::Unmount()
|
|||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_NOT_MOUNTED);
|
||||
|
||||
SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, 0);
|
||||
RemoveFlag( UNIT_FIELD_FLAGS, UNIT_FLAG_MOUNT );
|
||||
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_MOUNT);
|
||||
|
||||
WorldPacket data(SMSG_DISMOUNT, 8);
|
||||
data << GetPackGUID();
|
||||
SendMessageToSet(&data, true);
|
||||
|
||||
// only resummon old pet if the player is already added to a map
|
||||
// this prevents adding a pet to a not created map which would otherwise cause a crash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue