aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 56c931cc3b8..815111eb91b 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -395,11 +395,11 @@ class TRINITY_DLL_SPEC WorldObject : public Object
// angle calculated from current orientation
GetNearPoint(NULL,x,y,z,size,distance2d,GetOrientation() + angle);
}
- void GetClosePointAt(float &x, float &y, float &z, float dist, float angle);
- void GetClosePoint(float &x, float &y, float &z, float dist, float angle)
+ void GetGroundPoint(float &x, float &y, float &z, float dist, float angle);
+ void GetGroundPointAroundUnit(float &x, float &y, float &z, float dist, float angle)
{
GetPosition(x, y, z);
- GetClosePointAt(x, y, z, dist, angle);
+ GetGroundPoint(x, y, z, dist, angle);
}
void GetContactPoint( const WorldObject* obj, float &x, float &y, float &z, float distance2d = CONTACT_DISTANCE) const
{