aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-25 10:12:15 -0600
committermegamage <none@none>2009-03-25 10:12:15 -0600
commitd2e0ed5f5701e40e46c3f3c269eb49c4d8dafb08 (patch)
tree3faf0c80fc766f17546f5d0615c7a26494366daf /src/game/Object.cpp
parentd76578219ff556c604ea20e7328d952e07a709af (diff)
*Only set guardian's ownerguid in setpet.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp1
1 files changed, 0 insertions, 1 deletions
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());