diff options
author | megamage <none@none> | 2009-01-09 17:52:13 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-09 17:52:13 -0600 |
commit | 9fe27bf644ccd001ba64f9c5e0e4a83b1a814d44 (patch) | |
tree | 47dc6f0bcff9742f40f978e08eb460d45d0dd9bc /src/game/Object.cpp | |
parent | 9b8c50bb3b628f28db6eec01f7186916bff75f00 (diff) |
*Fix the bug caused by funtions with the same name.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |