diff options
author | megamage <none@none> | 2009-03-21 09:48:44 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-21 09:48:44 -0600 |
commit | a84e757793e6310c84af8b05f9b27f1ee5abd188 (patch) | |
tree | 1605f4fd9a6122c826048c1abc2220dcae68a788 /src/game/Level2.cpp | |
parent | 55695eda786667a34d6c0ae59496d787dfba4b3e (diff) |
*Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--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 342d4e85234..ba7092ec72f 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -1845,7 +1845,7 @@ bool ChatHandler::HandleNpcTameCommand(const char* /*args*/) pet->SetUInt32Value(UNIT_FIELD_LEVEL, level); // caster have pet now - player->SetPet(pet); + player->SetPet(pet, true); pet->SavePetToDB(PET_SAVE_AS_CURRENT); player->PetSpellInitialize(); @@ -4375,7 +4375,7 @@ bool ChatHandler::HandleCreatePetCommand(const char* args) // visual effect for levelup pet->SetUInt32Value(UNIT_FIELD_LEVEL,creatureTarget->getLevel()); - player->SetPet(pet); + player->SetPet(pet, true); pet->SavePetToDB(PET_SAVE_AS_CURRENT); player->PetSpellInitialize(); |