diff options
author | megamage <none@none> | 2009-05-02 19:24:22 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-02 19:24:22 -0500 |
commit | 122d94494523bd9e7fe8fabbacd11c08dbaba8f8 (patch) | |
tree | 54a52abd8d6bb27f72f9090a4e9fd78d14f69cab /src/game/Level2.cpp | |
parent | abe9b27ee44dd8484b8b8992bba742480f4ab33a (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/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 136156d44dd..bc83aa7a352 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -1883,7 +1883,7 @@ bool ChatHandler::HandleNpcTameCommand(const char* /*args*/) pet->SetUInt32Value(UNIT_FIELD_LEVEL, level); // caster have pet now - player->SetGuardian(pet, true); + player->SetMinion(pet, true); pet->SavePetToDB(PET_SAVE_AS_CURRENT); player->PetSpellInitialize(); @@ -4406,7 +4406,7 @@ bool ChatHandler::HandleCreatePetCommand(const char* args) // visual effect for levelup pet->SetUInt32Value(UNIT_FIELD_LEVEL,creatureTarget->getLevel()); - player->SetGuardian(pet, true); + player->SetMinion(pet, true); pet->SavePetToDB(PET_SAVE_AS_CURRENT); player->PetSpellInitialize(); |