*Fix a crash bug of pet.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-26 09:01:23 -06:00
parent e16c46ec95
commit cc94fda2b1

View File

@@ -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;