summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-05 17:22:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-05 17:22:13 +0100
commitab17e91ee41b1caea98179d379711cda7b69201c (patch)
tree850fc1ff0d245f2eaed247356a2458779f4e1632 /core
parente3fce2b2ec21cb787b21a8327bc71dd0127247e4 (diff)
downloadRustAndDust-ab17e91ee41b1caea98179d379711cda7b69201c.zip
RustAndDust-ab17e91ee41b1caea98179d379711cda7b69201c.tar.gz
StateRotate: allow again rotation in the same direction to fix entry move
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateRotate.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java
index 2a90eeb..2e3b266 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java
@@ -55,7 +55,8 @@ public class StateRotate extends StateCommon
o = Orientation.fromAdj(to.getCol(), to.getRow(), downHex.getCol(), downHex.getRow());
if (o == Orientation.KEEP) return;
- if (rotateOnly && (o == activeUnit.getOrientation())) return;
+ // FIXME this fucks up entry of 1MP pawns
+ // if (rotateOnly && (o == activeUnit.getOrientation())) return;
rotationSet = true;