*Fix the bug caused by funtions with the same name.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-09 17:52:13 -06:00
1 parent 9b8c50bb3b
commit 9fe27bf644
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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);