diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map2Moves.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java index e626655..c991d7e 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java @@ -67,7 +67,7 @@ public abstract class Map2Moves extends Map1Units public void pathsClear() { paths.clear(); } public void pathsInit(Unit unit) { paths.init(unit); } public void pathsInit(Unit unit, Hex hex) { paths.init(unit, hex); } - public int pathsBuild(Hex hex) { return pathsBuild(hex); } + public int pathsBuild(Hex hex) { return paths.build(hex); } public Hex pathsTo() { return (Hex) paths.to; } public void pathsSetOrientation(Orientation o) { paths.orientation = o; } public boolean pathsIsSet() { return paths.isSet(); } |