diff options
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 9be220e03b1..6d8f8838cf3 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -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 (); |