*Fix some client issues about pet.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-27 10:13:12 -06:00
parent f077ca4c6c
commit 74d88025cb
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -8273,7 +8273,7 @@ Pet* Unit::GetPet() const
return pet;
sLog.outError("Unit::GetPet: Pet %u not exist.",GUID_LOPART(pet_guid));
const_cast<Unit*>(this)->SetUInt64Value(UNIT_FIELD_SUMMON, 0);
//const_cast<Unit*>(this)->SetUInt64Value(UNIT_FIELD_SUMMON, 0);
}
return NULL;