summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/engine/SearchBoard.java2
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);