Removed unnecessary assignment

This commit is contained in:
Kromster80 2014-11-16 21:32:29 +03:00
parent c2bae484a0
commit 0ccf9fbb6c

View File

@ -717,7 +717,7 @@ dtPolyRef dtNavMesh::findNearestPolyInTile(const dtMeshTile* tile,
float closestPtPoly[3];
float diff[3];
bool posOverPoly = false;
float d = 0;
float d;
closestPointOnPoly(ref, center, closestPtPoly, &posOverPoly);
// If a point is directly over a polygon and closer than