From e0de941d88de7afeff8dee8f10c54d4cc036d148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 21 Sep 2014 03:57:10 +0200 Subject: coding style --- core/src/ch/asynk/tankontank/engine/MapNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1-2-g2b99