summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateMove.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateMove.java b/core/src/ch/asynk/tankontank/game/states/StateMove.java
index be09ed6..63f1e0d 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateMove.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateMove.java
@@ -41,6 +41,7 @@ public class StateMove extends StateCommon
changeUnit(map.moveableUnits.get(0));
}
}
+
activeUnit.enableOverlay(Unit.MOVE, false);
}
@@ -54,9 +55,8 @@ public class StateMove extends StateCommon
activeUnit.hideMoveable();
map.hidePossibleMoves();
map.unselectHex(activeUnit.getHex());
- if (to != null) {
+ if (to != null)
map.hidePath(to);
- }
if (nextState != StateType.SELECT) {
if (to == null)