diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateBreak.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateRotate.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateBreak.java b/core/src/ch/asynk/tankontank/game/states/StateBreak.java index e9af364..6b5dea2 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateBreak.java +++ b/core/src/ch/asynk/tankontank/game/states/StateBreak.java @@ -59,7 +59,7 @@ public class StateBreak extends StateCommon map.hideBreakPawns(); } } else { - o = Orientation.fromAdj(to, downHex); + o = Orientation.fromAdj(to, upHex); if (o == Orientation.KEEP) return; diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java index 50cfce2..c9949ab 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java +++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java @@ -85,7 +85,7 @@ public class StateRotate extends StateCommon { if (rotationSet) return; - o = Orientation.fromAdj(to, downHex); + o = Orientation.fromAdj(to, upHex); if (o == Orientation.KEEP) return; if (!activeUnit.movement.entryMove && rotateOnly && (o == activeUnit.getOrientation())) return; |