Reduced turning margin

This commit is contained in:
Anuken
2024-04-17 22:31:50 -04:00
parent 183c1a5763
commit dbb17b7f21

View File

@@ -1059,7 +1059,7 @@ public class HierarchyPathFinder implements Runnable{
boolean recalc = false;
unit.hitboxTile(Tmp.r3);
//tile rect size has tile size factored in, since the ray cannot have thickness
float tileRectSize = tilesize + Tmp.r3.height;
float tileRectSize = tilesize + Tmp.r3.height - 0.1f;
//TODO last pos can change if the flowfield changes.
if(initialTileOn.pos() != request.lastTile || request.lastTargetTile == null){