From d2e0ed5f5701e40e46c3f3c269eb49c4d8dafb08 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 25 Mar 2009 10:12:15 -0600 Subject: *Only set guardian's ownerguid in setpet. --HG-- branch : trunk --- src/game/Object.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index eeedcc05188..638c1390e14 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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()); -- cgit v1.2.3