diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-18 11:15:39 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-18 11:15:39 +0200 |
commit | 466a5e83eff5384ebe857fa2506fa213e1378018 (patch) | |
tree | cfd0645a989a797489c6ab48207ed00131d863e9 /core/src | |
parent | d9bdd87791ea4d23ed302565e8f2367d260c3f41 (diff) | |
download | RustAndDust-466a5e83eff5384ebe857fa2506fa213e1378018.zip RustAndDust-466a5e83eff5384ebe857fa2506fa213e1378018.tar.gz |
Map: do not clear activable and activated pawn here, states needs them
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 2 |
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) { |