Fixed silly warning. was useless but kept cropping up in build results ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -128,4 +128,4 @@ float GraphNode::getDistance2FromPoint(const Vec3 &xyz)
|
||||
core::vector2df xyz2d(xyz.getX(), xyz.getZ());
|
||||
core::vector2df closest = m_line.getClosestPoint(xyz2d);
|
||||
return (closest-xyz2d).getLengthSQ();
|
||||
} // getDistance2FromPoint
|
||||
} // getDistance2FromPoint
|
||||
|
||||
Reference in New Issue
Block a user