From 14e9c0f90aa3858bbaa22cbd6639d3a35baebf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 5 Nov 2014 17:11:06 +0100 Subject: Map: HQ are not allowed to command others when they enter the board --- core/src/ch/asynk/tankontank/game/Map.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.1-2-g2b99