summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index b7ee78e..a656c20 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -67,6 +67,8 @@ public abstract class Map extends Board
if (pawn == null) return;
for(GridPoint2 hex : reachableFrom(pawn, currentHex.x, currentHex.y))
enableOverlayOn(hex.x, hex.y, Hex.GREEN, true);
+ for(GridPoint2 hex : openToAttackFrom(pawn, currentHex.x, currentHex.y))
+ enableOverlayOn(hex.x, hex.y, Hex.RED, true);
}
private void debugMap()