mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Fix a crash bug of pet.
--HG-- branch : trunk
This commit is contained in:
@@ -55,6 +55,8 @@ class Guardian : public TempSummon
|
||||
|
||||
int32 GetBonusDamage() { return m_bonusdamage; }
|
||||
void SetBonusDamage(int32 damage) { m_bonusdamage = damage; }
|
||||
|
||||
Unit *GetOwner() { return m_owner; }
|
||||
protected:
|
||||
Unit *m_owner;
|
||||
int32 m_bonusdamage;
|
||||
|
||||
Reference in New Issue
Block a user