From c5fef55dfb3452c86e3c7a3c54f09263ce3c7cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 18 Oct 2014 11:16:21 +0200 Subject: StateAttack: clear the target hex --- core/src/ch/asynk/tankontank/game/states/StateAttack.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/tankontank/game/states/StateAttack.java b/core/src/ch/asynk/tankontank/game/states/StateAttack.java index 9937913..91d6249 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateAttack.java +++ b/core/src/ch/asynk/tankontank/game/states/StateAttack.java @@ -84,6 +84,7 @@ public class StateAttack extends StateCommon System.err.print(" attack (" + from.x + ";" + from.y + ") -> (" + to.x + ";" + to.y + ") : 2D6 -> (" + d1 + " + " + d2 + ")"); if (map.attackPawn(selectedPawn, activePawn, from, to, d1 + d2)) ctrl.player.casualty(activePawn); + map.showTarget(to, false); ctrl.setState(StateType.ANIMATION); super.done(); -- cgit v1.1-2-g2b99