diff options
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/boards')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java index e76b0d0..f22b824 100644 --- a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java +++ b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java @@ -431,10 +431,10 @@ public class HexBoard implements Board if (dy == 1) return (vertical ? Orientation.NE : Orientation.E); else - return (vertical ? Orientation.SE : Orientation.SE); + return Orientation.SE; } else { if (dy == 1) - return (vertical ? Orientation.NW : Orientation.NW); + return Orientation.NW; else return (vertical ? Orientation.SW : Orientation.W); } |