aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-09 17:52:13 -0600
committermegamage <none@none>2009-01-09 17:52:13 -0600
commit9fe27bf644ccd001ba64f9c5e0e4a83b1a814d44 (patch)
tree47dc6f0bcff9742f40f978e08eb460d45d0dd9bc /src/game/Object.cpp
parent9b8c50bb3b628f28db6eec01f7186916bff75f00 (diff)
*Fix the bug caused by funtions with the same name.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 160c32e5f03..6d6cbb4f865 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -1622,7 +1622,7 @@ void WorldObject::GetNearPoint(WorldObject const* searcher, float &x, float &y,
UpdateGroundPositionZ(x,y,z);
}
-void WorldObject::GetClosePointAt(float &x, float &y, float &z, float dist, float angle)
+void WorldObject::GetGroundPoint(float &x, float &y, float &z, float dist, float angle)
{
angle += GetOrientation();
x += dist * cos(angle);