*Fix some bugs of pet.
--HG-- branch : trunk
This commit is contained in:
@@ -218,7 +218,10 @@ class Pet : public Guardian
|
||||
DeclinedName const* GetDeclinedNames() const { return m_declinedname; }
|
||||
|
||||
bool m_removed; // prevent overwrite pet state in DB at next Pet::Update if pet already removed(saved)
|
||||
|
||||
Player *GetOwner() { return m_owner; }
|
||||
protected:
|
||||
Player *m_owner;
|
||||
uint32 m_happinessTimer;
|
||||
PetType m_petType;
|
||||
int32 m_duration; // time until unsummon (used mostly for summoned guardians and not used for controlled pets)
|
||||
|
||||
Reference in New Issue
Block a user