From 9fe27bf644ccd001ba64f9c5e0e4a83b1a814d44 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 9 Jan 2009 17:52:13 -0600 Subject: *Fix the bug caused by funtions with the same name. --HG-- branch : trunk --- src/game/Object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Object.cpp') 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); -- cgit v1.2.3