diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Orientation.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Orientation.java b/core/src/ch/asynk/tankontank/engine/Orientation.java index af4c588..b5fe530 100644 --- a/core/src/ch/asynk/tankontank/engine/Orientation.java +++ b/core/src/ch/asynk/tankontank/engine/Orientation.java @@ -102,6 +102,7 @@ public enum Orientation public static Orientation fromAdj(int col0, int row0, int col1, int row1) { Orientation o = KEEP; + if (row1 == row0) { if (col1 == (col0 - 1)) { o = SOUTH; |