summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-18 16:54:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-18 16:54:54 +0100
commit024055e8ab018868fc4d4f91517a695f6d5faf58 (patch)
tree494f1b8faf16a6e20f7e9f9390886d7a5a51e8c5
parent1dace442ed9abfac42165a1c7d77a1b66c6fe287 (diff)
downloadRustAndDust-024055e8ab018868fc4d4f91517a695f6d5faf58.zip
RustAndDust-024055e8ab018868fc4d4f91517a695f6d5faf58.tar.gz
StateEscape: hide path and destination
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateEscape.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateEscape.java b/core/src/ch/asynk/tankontank/game/states/StateEscape.java
index a10e0b6..b572bc1 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateEscape.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateEscape.java
@@ -56,6 +56,7 @@ public class StateEscape extends StateCommon
map.possiblePaths.orientation = exitZone.orientation;
unit.hideMoveable();
+ map.hidePath(to);
map.hidePossibleMoves();
map.unselectHex(unit.getHex());