summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/PossiblePaths.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
index 30f63fd..fb941ec 100644
--- a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
+++ b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
@@ -224,8 +224,8 @@ public class PossiblePaths implements Iterable<Vector3>
private List<Tile> getPath(int i)
{
if (ctrlTiles.size() == 0)
- return paths.get(0);
- return filteredPaths.get(0);
+ return paths.get(i);
+ return filteredPaths.get(i);
}
public int pathSteps(int idx)