summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-14 16:51:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-14 16:51:00 +0100
commited155fb472969893c8ce999fb44468a635ffcfce (patch)
tree265c79f3c95de028c514900a77d4726fd87b33c4 /core/src/ch/asynk
parentddded613557f36c58b9cfcfecf2932cbd9895afb (diff)
downloadRustAndDust-ed155fb472969893c8ce999fb44468a635ffcfce.zip
RustAndDust-ed155fb472969893c8ce999fb44468a635ffcfce.tar.gz
Pawn: default mvt cost is 0
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java
index 7f2d688..1b4a96c 100644
--- a/core/src/ch/asynk/tankontank/engine/Pawn.java
+++ b/core/src/ch/asynk/tankontank/engine/Pawn.java
@@ -81,7 +81,7 @@ public abstract class Pawn implements Moveable, Disposable
{
from = null;
to = null;
- cost = Integer.MAX_VALUE;
+ cost = 0;
roadMarch = false;
entryMove = false;
orientation = Orientation.KEEP;