From 522d25dd7c1cd9e1959b619d8d4ae20673190951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 13 Oct 2014 12:08:03 +0200 Subject: Map: showAttackAssists(boolean) -> clear Hex.TARGET too --- core/src/ch/asynk/tankontank/game/Map.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index b03021a..2e02185 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -127,8 +127,10 @@ public abstract class Map extends Board public void showAttackAssists(boolean enable) { - for(GridPoint2 hex : attackAssists) + for(GridPoint2 hex : attackAssists) { enableOverlayOn(hex, Hex.ASSIST, enable); + enableOverlayOn(hex, Hex.TARGET, false); + } } public void showPossibleTargets(boolean enable) -- cgit v1.1-2-g2b99