diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-12 22:56:37 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-12 22:56:37 +0100 |
commit | 39372b9ed6210ebca5264f277847dcca41f3cee3 (patch) | |
tree | f61a6d5f8390e448461efd96c99372212afc350d /core/src/ch | |
parent | 849b4301273f3460e9ac6c107823ad657aba065b (diff) | |
download | RustAndDust-39372b9ed6210ebca5264f277847dcca41f3cee3.zip RustAndDust-39372b9ed6210ebca5264f277847dcca41f3cee3.tar.gz |
Map: fix pawn orientation on entry
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 2 |
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 526b1e4..0ccbbe4 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -173,7 +173,7 @@ public abstract class Map extends Board if (entry == Orientation.KEEP) return false; pawn.enterBoard(to, entry); - setPawnOnto(pawn, to, entry.opposite()); + setPawnOnto(pawn, to, entry); return true; } |