*Fix the bug caused by funtions with the same name.
--HG-- branch : trunk
This commit is contained in:
1 parent
9b8c50bb3b
commit
9fe27bf644
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user