diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-09 14:09:54 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-09 14:09:54 +0200 |
commit | 8d56788cd41638bc25dda3b2be03c154f3df7fec (patch) | |
tree | 139f522e76a469c49916e1a5a3dec54565ae8772 | |
parent | 133b42d10fd28ece2f19f97735f52a82509332bc (diff) | |
download | RustAndDust-8d56788cd41638bc25dda3b2be03c154f3df7fec.zip RustAndDust-8d56788cd41638bc25dda3b2be03c154f3df7fec.tar.gz |
coding style
-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; |