Minor tweak to autoporting code

This commit is contained in:
KimLS
2016-01-18 20:14:57 -08:00
parent 978650eb1f
commit 946cee01fc
2 changed files with 12 additions and 7 deletions
-4
View File
@@ -309,10 +309,6 @@ PathfindingRoute::~PathfindingRoute()
bool PathfindingRoute::DestinationValid(const glm::vec3 &dest)
{
if (m_current_node >= 255) {
return false;
}
auto dist = vec_dist(dest, m_dest);
if (dist <= max_dest_drift) {
return true;