*Use virtual function for GetFollowAngle

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-23 09:17:35 +08:00
parent a522e3bff4
commit e79656b75a
3 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class Minion : public TempSummon
void InitSummon();
void RemoveFromWorld();
Unit *GetOwner() { return m_owner; }
float GetFollowAngle() { return m_followAngle; }
float GetFollowAngle() const { return m_followAngle; }
void SetFollowAngle(float angle) { m_followAngle = angle; }
bool IsPetGhoul() const {return GetEntry() == 26125;} // Ghoul may be guardian or pet
protected: