diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 2e02185..5c50ea5 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -206,6 +206,9 @@ public abstract class Map extends Board public int buildAttackAssists(Pawn pawn, GridPoint2 hex, Iterator<Pawn> units) { buildAttackAssists(pawn, hex, units, attackAssists); + activatedPawns.add(pawn); + for (GridPoint2 p : attackAssists) + activablePawns.add(getTopPawnAt(p)); return attackAssists.size(); } |