aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-27 22:47:28 -0600
committermegamage <none@none>2009-03-27 22:47:28 -0600
commitff83e4a9b13594be4a682da535c9522c9f9de186 (patch)
treeb948e5d4508f23b9c99335d4a92475d9d1f6aea1 /src/game/Object.cpp
parentd0a58f705f34a6831a242977b0059a03dba8b5a6 (diff)
*Fix some bugs of pet.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 20b2cf9eb12..b1523072548 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -1831,7 +1831,7 @@ Pet* Player::SummonPet(uint32 entry, float x, float y, float z, float ang, PetTy
pet->SetUInt32Value(UNIT_FIELD_BYTES_1,0);
pet->InitStatsForLevel(getLevel());
- SetPet(pet, true);
+ SetGuardian(pet, true);
switch(petType)
{