summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-21 03:57:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-21 03:57:10 +0200
commite0de941d88de7afeff8dee8f10c54d4cc036d148 (patch)
tree95b098af986dda2724d0de4d0a5ea8ded0e01f4d /core
parentbcdc8a5f3d3da465a8c555ee0bc2f606e0bb8502 (diff)
downloadRustAndDust-e0de941d88de7afeff8dee8f10c54d4cc036d148.zip
RustAndDust-e0de941d88de7afeff8dee8f10c54d4cc036d148.tar.gz
coding style
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/engine/MapNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/MapNode.java b/core/src/ch/asynk/tankontank/engine/MapNode.java
index a22b0a9..e9b8ed9 100644
--- a/core/src/ch/asynk/tankontank/engine/MapNode.java
+++ b/core/src/ch/asynk/tankontank/engine/MapNode.java
@@ -269,7 +269,7 @@ public class MapNode extends Image implements Map
}
// validate hex
- if ((col < 0) || (row < 0) || (row > rows) || (col > cols) || (oddRow && ((col +1)> cols)))
+ if ((col < 0) || (row < 0) || (row > rows) || (col > cols) || (oddRow && ((col + 1)> cols)))
hex.set(-1, -1);
else
hex.set(col, row);