aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-02 19:24:22 -0500
committermegamage <none@none>2009-05-02 19:24:22 -0500
commit122d94494523bd9e7fe8fabbacd11c08dbaba8f8 (patch)
tree54a52abd8d6bb27f72f9090a4e9fd78d14f69cab /src/game/Pet.cpp
parentabe9b27ee44dd8484b8b8992bba742480f4ab33a (diff)
*Update summon system.
*Fix the bug that shaman cannot summon fire elemental. *Fix the bug that totem meters cannot be displayed. --HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 070de6e5899..9f861a91b89 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -262,7 +262,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
}
map->Add((Creature*)this);
- owner->SetGuardian(this, true);
+ owner->SetMinion(this, true);
m_resetTalentsCost = fields[17].GetUInt32();
m_resetTalentsTime = fields[18].GetUInt64();