*Only set guardian's ownerguid in setpet.
--HG-- branch : trunk
This commit is contained in:
1 parent
d76578219f
commit
d2e0ed5f57
5 files changed
+20
-12
No files matched your search
@@ -1815,7 +1815,6 @@ Pet* Player::SummonPet(uint32 entry, float x, float y, float z, float ang, PetTy
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pet->SetOwnerGUID(GetGUID());
|
||||
pet->SetCreatorGUID(GetGUID());
|
||||
pet->SetUInt32Value(UNIT_FIELD_FACTIONTEMPLATE, getFaction());
|
||||
|
||||
|
||||
Reference in new issue
Block a user