summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-11 22:43:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-11 22:43:08 +0200
commitea0c1e1acac5ed08873ce6ed1dd66cd46a381ca5 (patch)
tree2492960e4042fd93ed6df50f08d4ed88b7eb4ab5 /core/src
parent1d9cc6e3e1064b412bd42db34f9dd0041d1f097b (diff)
downloadRustAndDust-ea0c1e1acac5ed08873ce6ed1dd66cd46a381ca5.zip
RustAndDust-ea0c1e1acac5ed08873ce6ed1dd66cd46a381ca5.tar.gz
Map: revertMoves() call activatedPawns.clear()
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 1885ee3..fb91254 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -245,6 +245,7 @@ public abstract class Map extends Board
}
}));
}
+ activatedPawns.clear();
}
private int finishMove(Pawn pawn, GridPoint2 from) {