*Only set guardian's ownerguid in setpet.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-25 10:12:15 -06:00
parent d76578219f
commit d2e0ed5f57
5 changed files with 20 additions and 12 deletions

View File

@@ -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());