diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-04 02:05:57 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-04 02:05:57 +0200 |
commit | 09c0730b0f4c938195b6d51ce12a0ef4329b4d1b (patch) | |
tree | 6337c8d51240840d61bda513030f3656e253356d /core/src/ch/asynk/rustanddust/engine | |
parent | eb474d91126ba5fbf5f2824fd0b32cd2c0f2535d (diff) | |
download | RustAndDust-26.zip RustAndDust-26.tar.gz |
ok, I fucked up, path optimisation is not ready yetv26
Diffstat (limited to 'core/src/ch/asynk/rustanddust/engine')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/PathBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java index 35eb997..cae1d94 100644 --- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java +++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java @@ -115,8 +115,8 @@ public class PathBuilder implements Disposable } else { this.distance = board.distance(from, to); findAllPaths(from, pawn.getMovementPoints(), 0, true); - for (Tile t : objectives) - toggleCtrlTile(t, false); + // for (Tile t : objectives) + // toggleCtrlTile(t, false); } // printToErr("paths", paths); |