summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-05 10:34:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-05 10:34:25 +0200
commit012eff6e0f309611fde486d7dcf3518ff6210d55 (patch)
tree8cc70847c35166a8333be63ad05ed1f7a4e6e54f /core
parent4f9359bd14d076c455f15e7a6beab4acb66a8028 (diff)
downloadRustAndDust-012eff6e0f309611fde486d7dcf3518ff6210d55.zip
RustAndDust-012eff6e0f309611fde486d7dcf3518ff6210d55.tar.gz
GameStateNone: hide possible targets on switch to PATH
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/GameStateNone.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameStateNone.java b/core/src/ch/asynk/tankontank/game/GameStateNone.java
index a66f30b..6243091 100644
--- a/core/src/ch/asynk/tankontank/game/GameStateNone.java
+++ b/core/src/ch/asynk/tankontank/game/GameStateNone.java
@@ -18,6 +18,7 @@ public class GameStateNone extends GameStateCommon
public void touchDown()
{
if (map.isInPossibleMoves(downHex)) {
+ map.enablePossibleTargets(false);
ctrl.setState(State.PATH, true);
} else {
unselectHex();