summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-05 17:11:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-05 17:11:06 +0100
commit14e9c0f90aa3858bbaa22cbd6639d3a35baebf5a (patch)
treee507b94240648fc3af3ac1eaedb0c017ef3a3d14 /core/src/ch
parent6acb4e7673c1d360637ee6996ea71ec8a871dd7c (diff)
downloadRustAndDust-14e9c0f90aa3858bbaa22cbd6639d3a35baebf5a.zip
RustAndDust-14e9c0f90aa3858bbaa22cbd6639d3a35baebf5a.tar.gz
Map: HQ are not allowed to command others when they enter the board
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 4ba7aed..66fa17c 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -122,7 +122,7 @@ public abstract class Map extends Board
public int collectMoveablePawns(Pawn pawn)
{
- if (pawn.isHq()) {
+ if (pawn.isHq() && !pawn.move.entryMove) {
collectMoveAssists(pawn, moveablePawns);
} else {
moveablePawns.clear();