diff options
Diffstat (limited to 'src/game/Object.h')
| -rw-r--r-- | src/game/Object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index efc5e8c18d2..826775500d2 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -408,6 +408,7 @@ struct TRINITY_DLL_SPEC Position float GetAngle(const Position *pos) const; float GetAngle(float x, float y) const; float GetRelativeAngle(const Position *pos) const { return GetAngle(pos) - m_orientation; } + float GetRelativeAngle(float x, float y) const { return GetAngle(x, y) - m_orientation; } void GetSinCos(float x, float y, float &vsin, float &vcos) const; bool IsInDist2d(float x, float y, float dist) const |
