summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-18 11:15:39 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-18 11:15:39 +0200
commit466a5e83eff5384ebe857fa2506fa213e1378018 (patch)
treecfd0645a989a797489c6ab48207ed00131d863e9 /core
parentd9bdd87791ea4d23ed302565e8f2367d260c3f41 (diff)
downloadRustAndDust-466a5e83eff5384ebe857fa2506fa213e1378018.zip
RustAndDust-466a5e83eff5384ebe857fa2506fa213e1378018.tar.gz
Map: do not clear activable and activated pawn here, states needs them
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index c4ce8bc..3bebf6d 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -310,8 +310,6 @@ public abstract class Map extends Board
// TODO : free move for infantry
for (Pawn p : activatedPawns)
pawn.attack(target);
- activablePawns.clear();
- activatedPawns.clear();
AnimationSequence seq = AnimationSequence.get(2);
if (success) {