*Update to Trinity 843.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-12 11:02:18 -06:00
commit 90f30abd86
37 files changed
+1492 -142

No files matched your search

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