Skip to content

Commit

Permalink
Fix a*
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Nov 28, 2016
1 parent eaa53b4 commit 0a79178
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -148,7 +148,7 @@ public float heuristicDistance(Vector goal) {
}

private boolean isPassable(PathPoint mod) {
boolean passable = true;
boolean passable = false;
for (BlockExaminer examiner : examiners) {
PassableState state = examiner.isPassable(blockSource, mod);
if (state == PassableState.IGNORE)
Expand Down

0 comments on commit 0a79178

Please sign in to comment.