summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-03 18:04:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-03 18:04:59 +0200
commitc4d43b7a87bab33f1486af3d6ace82750026d0f9 (patch)
tree214fa07a7f702580555ef62fa3318c3e296a524b
parent173fc2aca7c63a4ab77bbf28827e44f89994753c (diff)
downloadRustAndDust-c4d43b7a87bab33f1486af3d6ace82750026d0f9.zip
RustAndDust-c4d43b7a87bab33f1486af3d6ace82750026d0f9.tar.gz
GameStateDirection: do not select after move
-rw-r--r--core/src/ch/asynk/tankontank/game/GameStateDirection.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameStateDirection.java b/core/src/ch/asynk/tankontank/game/GameStateDirection.java
index 995f9ab..1fefb3b 100644
--- a/core/src/ch/asynk/tankontank/game/GameStateDirection.java
+++ b/core/src/ch/asynk/tankontank/game/GameStateDirection.java
@@ -34,10 +34,8 @@ public class GameStateDirection extends GameStateCommon
}
}
- if (o != Orientation.KEEP) {
- selectHex();
+ if (o != Orientation.KEEP)
map.movePawn(pawn, o);
- }
map.enableFinalPath(hex, false);
map.resetPaths();
ctrl.setState(State.NONE, false);