summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index c8c80bc..5cd9848 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -158,8 +158,8 @@ public abstract class Map extends Board
possibleTargets.clear();
return 0;
}
- // return buildPossibleTargets(pawn, possibleTargets);
- return buildPossibleTargets(pawn, possibleTargets);
+ // return collectPossibleTargets(pawn, possibleTargets);
+ return collectPossibleTargets(pawn, foes, possibleTargets);
}
public int collectMoveablePawns(Pawn pawn)