summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Unit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Unit.java b/core/src/ch/asynk/rustanddust/game/Unit.java
index e415ee3..836ac93 100644
--- a/core/src/ch/asynk/rustanddust/game/Unit.java
+++ b/core/src/ch/asynk/rustanddust/game/Unit.java
@@ -304,7 +304,7 @@ public class Unit extends HeadedPawn
if (cost > mpLeft)
RustAndDust.debug("ERROR: Movement point exceeded: " + cost + "/" + mpLeft + " please report");
- if (move.isFinal())
+ if ((cost > 0) && move.isFinal())
setMoved();
mpLeft -= cost;