summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-09 14:09:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-09 14:09:54 +0200
commit8d56788cd41638bc25dda3b2be03c154f3df7fec (patch)
tree139f522e76a469c49916e1a5a3dec54565ae8772 /core/src/ch
parent133b42d10fd28ece2f19f97735f52a82509332bc (diff)
downloadRustAndDust-8d56788cd41638bc25dda3b2be03c154f3df7fec.zip
RustAndDust-8d56788cd41638bc25dda3b2be03c154f3df7fec.tar.gz
coding style
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Orientation.java1
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;