*Update to Trinity 843.
--HG-- branch : trunk
This commit is contained in:
commit
90f30abd86
37 files changed
+1492
-142
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user