diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 16:51:00 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 16:51:00 +0100 |
commit | ed155fb472969893c8ce999fb44468a635ffcfce (patch) | |
tree | 265c79f3c95de028c514900a77d4726fd87b33c4 | |
parent | ddded613557f36c58b9cfcfecf2932cbd9895afb (diff) | |
download | RustAndDust-ed155fb472969893c8ce999fb44468a635ffcfce.zip RustAndDust-ed155fb472969893c8ce999fb44468a635ffcfce.tar.gz |
Pawn: default mvt cost is 0
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 2 |
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; |