summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/states
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:43:53 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:43:53 +0100
commit24deb1faa19371913ac0fdce12687710d9e2392b (patch)
tree5f7b40a8c168366453587eac60f1daf0ae37999f /core/src/ch/asynk/rustanddust/game/states
parent9049d13178f17cf95986c6a26dc02676537cf138 (diff)
downloadRustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.zip
RustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.tar.gz
PathBuilder: choosePath() -p chooseBest()
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/states')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateMove.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateMove.java b/core/src/ch/asynk/rustanddust/game/states/StateMove.java
index 6d1d7c7..1a088ac 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateMove.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateMove.java
@@ -150,7 +150,7 @@ public class StateMove extends StateCommon
to = hex;
int s = map.pathsBuild(to);
if (cfg.autoPath && (s > 1))
- s = map.pathsChooseOne();
+ s = map.pathsChooseBest();
map.hexMoveShow(to);
map.movesHide();
map.pathsShow();