mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Merge remote branch 'origin/master' into 330
This commit is contained in:
commit
33cd1a0aca
32 changed files with 659 additions and 293 deletions
|
|
@ -17095,6 +17095,18 @@ void Player::PetSpellInitialize()
|
|||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
void Player::SendPetGUIDs()
|
||||
{
|
||||
if(!GetPetGUID())
|
||||
return;
|
||||
|
||||
// Later this function might get modified for multiple guids
|
||||
WorldPacket data(SMSG_PET_GUIDS, 12);
|
||||
data << uint32(1); // count
|
||||
data << uint64(GetPetGUID());
|
||||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
void Player::PossessSpellInitialize()
|
||||
{
|
||||
Unit* charm = GetCharm();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue