summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/map
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-30 22:04:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-30 22:04:39 +0100
commit57f06d82d75e81f2ccafc1b232180cbf9b01ce3f (patch)
tree8973f0babdd052ca0e670d3e1a0cfe826cd7aa24 /core/src/ch/asynk/rustanddust/game/map
parent4509673c9403c11b9312cf287a32e011eb92dd06 (diff)
downloadRustAndDust-57f06d82d75e81f2ccafc1b232180cbf9b01ce3f.zip
RustAndDust-57f06d82d75e81f2ccafc1b232180cbf9b01ce3f.tar.gz
PathBuilder: toggleCtrlTile add boolean quick parameter
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/map')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map2Moves.java2
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 3a29e95..239e38e 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java
@@ -79,7 +79,7 @@ public abstract class Map2Moves extends Map1Units
{
boolean enable = !hex.isOverlayEnabled(Hex.MOVE);
enableOverlayOn(hex, Hex.MOVE, enable);
- return paths.toggleCtrlTile(hex);
+ return paths.toggleCtrlTile(hex, true);
}
public void movesShow() { moves.enable(Hex.AREA, true); }