diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Config.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateMove.java | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Config.java b/core/src/ch/asynk/rustanddust/game/Config.java index 180cd76..8545e73 100644 --- a/core/src/ch/asynk/rustanddust/game/Config.java +++ b/core/src/ch/asynk/rustanddust/game/Config.java @@ -55,6 +55,7 @@ public class Config public boolean showTargets; public boolean showMoveAssists; public boolean showEnemyPossibilities; + public boolean autoPath; public boolean debug; public Battle battle; public float fxVolume; @@ -64,6 +65,7 @@ public class Config { this.gameMode = GameMode.SOLO; this.debug = false; + this.autoPath = true; this.showMoves = true; this.showTargets = true; this.showMoveAssists = true; diff --git a/core/src/ch/asynk/rustanddust/game/states/StateMove.java b/core/src/ch/asynk/rustanddust/game/states/StateMove.java index 67fb673..6d1d7c7 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateMove.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateMove.java @@ -149,7 +149,7 @@ public class StateMove extends StateCommon { to = hex; int s = map.pathsBuild(to); - if (s > 1) + if (cfg.autoPath && (s > 1)) s = map.pathsChooseOne(); map.hexMoveShow(to); map.movesHide(); |