Skip to content

Commit f348c2f

Browse files
committed
Change GridNode heuristic to Manhattan
1 parent 4d77d2a commit f348c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Simulation/Grid/Core/GridNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public void CalculateHeuristic ()
274274
{
275275

276276

277-
#if false
277+
#if true
278278
//manhattan
279279
if (gridX > HeuristicTargetX)
280280
dstX = gridX - HeuristicTargetX;

0 commit comments

Comments
 (0)