@@ -136,6 +136,9 @@ void CPathfinder::calculatePaths()
if(neighbour->locked)
continue;
+ if (source.node->theNodeBefore && source.node->theNodeBefore->coord == neighbour->coord )
+ continue; // block U-turns
+
if(!hlp->isLayerAvailable(neighbour->layer))