*Fix some bugs of pet.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-27 22:47:28 -06:00
1 parent d0a58f705f
commit ff83e4a9b1
18 files changed
+260 -182

No files matched your search

+1 -1
View File
@@ -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)
{