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 e7e03501dc1..01c31d5b9b4 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -463,6 +463,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object float GetDistance( const WorldObject* obj ) const; float GetDistance(const float x, const float y, const float z) const; float GetDistanceSq(const float &x, const float &y, const float &z) const; + float GetDistanceSq(const WorldObject *obj) const; float GetDistance2d(const WorldObject* obj) const; float GetDistance2d(const float x, const float y) const; float GetExactDistance2d(const float x, const float y) const; |