diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 18:04:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 18:04:59 +0200 |
commit | c4d43b7a87bab33f1486af3d6ace82750026d0f9 (patch) | |
tree | 214fa07a7f702580555ef62fa3318c3e296a524b /core | |
parent | 173fc2aca7c63a4ab77bbf28827e44f89994753c (diff) | |
download | RustAndDust-c4d43b7a87bab33f1486af3d6ace82750026d0f9.zip RustAndDust-c4d43b7a87bab33f1486af3d6ace82750026d0f9.tar.gz |
GameStateDirection: do not select after move
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/GameStateDirection.java | 4 |
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); |