mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
Fixed MSG_LIST_STABLED_PETS
This commit is contained in:
parent
2af3c01a23
commit
c5dbf49ece
3 changed files with 18 additions and 6 deletions
|
|
@ -517,8 +517,7 @@ void WorldSession::SendStablePet(uint64 guid )
|
|||
data << uint32(pet->GetEntry());
|
||||
data << uint32(pet->getLevel());
|
||||
data << pet->GetName(); // petname
|
||||
data << uint32(0); // was loyalty
|
||||
data << uint8(0x01); // client slot 1 == current pet (0)
|
||||
data << uint8(0x01); // flags?, client slot 1 == current pet (0)
|
||||
++num;
|
||||
}
|
||||
|
||||
|
|
@ -535,7 +534,6 @@ void WorldSession::SendStablePet(uint64 guid )
|
|||
data << uint32(fields[3].GetUInt32()); // creature entry
|
||||
data << uint32(fields[4].GetUInt32()); // level
|
||||
data << fields[5].GetString(); // name
|
||||
data << uint32(0); // was loyalty
|
||||
data << uint8(fields[1].GetUInt32()+1); // slot
|
||||
|
||||
++num;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue