summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/PathBuilder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
index a663d6a..50e4e79 100644
--- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
+++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
@@ -129,7 +129,7 @@ public class PathBuilder implements Disposable
keepOnly(good);
}
- return ps.size();
+ return size();
}
public int chooseShortest()
@@ -145,7 +145,7 @@ public class PathBuilder implements Disposable
keepOnly(good);
}
- return ps.size();
+ return size();
}
public int chooseExit(Orientation o)
@@ -177,7 +177,7 @@ public class PathBuilder implements Disposable
}
to = board.getAdjTileAt(to, o);
- return ps.size();
+ return size();
}
private Path best(Path a, Path b)