diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 09:59:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 09:59:37 +0200 |
commit | fd0757f303308f63891eab898bb4c87f558fdebb (patch) | |
tree | 4292acbc15cad3ba10c9756d7bec75928118fd78 /core/src/ch/asynk/tankontank | |
parent | eaf866fee4c460a4e63dd0b61ffff5f8cdf9a698 (diff) | |
download | RustAndDust-fd0757f303308f63891eab898bb4c87f558fdebb.zip RustAndDust-fd0757f303308f63891eab898bb4c87f558fdebb.tar.gz |
SearchBoard: oops fix 1 hex move
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/SearchBoard.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java index d76fc03..26b05b5 100644 --- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java +++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java @@ -550,8 +550,8 @@ public class SearchBoard if (distance(from, to) == 1) { ArrayList<Node> temp = new ArrayList<Node>(2); - temp.add(to); temp.add(from); + temp.add(to); possiblePaths.add(temp); } else { path.add(from); |