setting path as truncated

This commit is contained in:
devZoGok
2026-02-02 20:08:39 +02:00
parent 687b4013f2
commit 932f31158a
+2
View File
@@ -400,6 +400,8 @@ namespace battleship{
else if(leftAngle <= a2) dist = (.5 * width) / cos(leftAngle);
addPathpoint(targPos + pointDir.norm() * dist);
pathTruncated = true;
break;
}
else removePathpoint(pathPoints.size() - 1);