diff options
| author | megamage <none@none> | 2009-05-06 13:34:11 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-06 13:34:11 -0500 |
| commit | fa1dcd16cf8bc09cd0c0878020b59e7128e71d09 (patch) | |
| tree | 46062e99b9b8494520351b83e8f71a8e77e2a818 /src/game/Pet.cpp | |
| parent | 5d3a64517eff8db5781f299ece29a338b6e2f7a2 (diff) | |
*Update summon system.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
| -rw-r--r-- | src/game/Pet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 1c67eadb07f..1fc33a3ccb6 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -261,8 +261,8 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool SetPower(POWER_MANA, savedmana > GetMaxPower(POWER_MANA) ? GetMaxPower(POWER_MANA) : savedmana); } - map->Add((Creature*)this); owner->SetMinion(this, true); + map->Add((Creature*)this); m_resetTalentsCost = fields[17].GetUInt32(); m_resetTalentsTime = fields[18].GetUInt64(); |
