From 466a5e83eff5384ebe857fa2506fa213e1378018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 18 Oct 2014 11:15:39 +0200 Subject: Map: do not clear activable and activated pawn here, states needs them --- core/src/ch/asynk/tankontank/game/Map.java | 2 -- 1 file changed, 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) { -- cgit v1.1-2-g2b99