summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-12 22:56:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-12 22:56:37 +0100
commit39372b9ed6210ebca5264f277847dcca41f3cee3 (patch)
treef61a6d5f8390e448461efd96c99372212afc350d /core
parent849b4301273f3460e9ac6c107823ad657aba065b (diff)
downloadRustAndDust-39372b9ed6210ebca5264f277847dcca41f3cee3.zip
RustAndDust-39372b9ed6210ebca5264f277847dcca41f3cee3.tar.gz
Map: fix pawn orientation on entry
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
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;
}