summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-18 20:04:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-18 20:04:38 +0100
commit2d93d8e9690f2fe14037bdca67fd74d58cc22912 (patch)
treec39661b29d4901859b8f56710a2999fc66e09192
parentec9cea0aaa41f7eb1deac8f345619775593abca9 (diff)
downloadRustAndDust-2d93d8e9690f2fe14037bdca67fd74d58cc22912.zip
RustAndDust-2d93d8e9690f2fe14037bdca67fd74d58cc22912.tar.gz
BattleCounterAttack: set geExit.orientation = Orientation.NORTH
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleCounterAttack.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleCounterAttack.java b/core/src/ch/asynk/tankontank/game/battles/BattleCounterAttack.java
index e30164c..bab0695 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleCounterAttack.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleCounterAttack.java
@@ -111,7 +111,7 @@ public class BattleCounterAttack extends BattleCommon
Player usPlayer = ctrl.getPlayer(Army.US);
Zone geExit = new Zone(map, 9);
- geExit.allowedMoves = (Orientation.NORTH.s | Orientation.NORTH_EAST.s | Orientation.NORTH_WEST.s);
+ geExit.orientation = Orientation.NORTH;
geExit.add(map.getHex(9, 0));
geExit.add(map.getHex(9, 1));
geExit.add(map.getHex(10, 2));