diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-21 03:57:10 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-21 03:57:10 +0200 |
commit | e0de941d88de7afeff8dee8f10c54d4cc036d148 (patch) | |
tree | 95b098af986dda2724d0de4d0a5ea8ded0e01f4d /core/src/ch | |
parent | bcdc8a5f3d3da465a8c555ee0bc2f606e0bb8502 (diff) | |
download | RustAndDust-e0de941d88de7afeff8dee8f10c54d4cc036d148.zip RustAndDust-e0de941d88de7afeff8dee8f10c54d4cc036d148.tar.gz |
coding style
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/MapNode.java | 2 |
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); |