*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
@@ -1805,7 +1805,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
bool canFly() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_FLY_MODE); }
bool IsFlying() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_FLYING); }
void SetFlying(bool apply);
float GetFollowAngle() const;
virtual float GetFollowAngle() const { return M_PI/2; }
protected:
explicit Unit ();