summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java
index 14f670f..6a5867e 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -446,7 +446,7 @@ public abstract class Board implements Disposable
public void setPawnAt(Pawn pawn, GridPoint2 coords, Orientation o)
{
Vector2 pos = getPawnPosAt(pawn, coords, null);
- pawn.pushMove(pos.x, pos.y, o);
+ pawn.setPosition(pos.x, pos.y, o.r());
pushPawnAt(pawn, coords);
}