diff options
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Path.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Path.java b/core/src/ch/asynk/gdx/boardgame/Path.java index a7e1d5e..72745aa 100644 --- a/core/src/ch/asynk/gdx/boardgame/Path.java +++ b/core/src/ch/asynk/gdx/boardgame/Path.java @@ -92,7 +92,7 @@ public class Path extends IterableArray<Tile> implements Disposable, Pool.Poolab // rotation ... from = to; next(); - Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation); + final Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation); // if already facing, transform into a straight move if (piece.isFacing(o)) { to = current(); |