Core/Unit: Move code using polymorphism out of CharmInfo destructor - fixes issues introduced with 38ea569525.

This commit is contained in:
QAston
2011-02-04 02:51:12 +01:00
parent 38ea569525
commit f862db8b92
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -1027,6 +1027,7 @@ struct CharmInfo
public:
explicit CharmInfo(Unit* unit);
~CharmInfo();
void RestoreState();
uint32 GetPetNumber() const { return m_petnumber; }
void SetPetNumber(uint32 petnumber, bool statwindow);