summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-05 16:37:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-05 16:37:39 +0100
commitb7a165903bfa2a04d5abbf6fdb6e215252997655 (patch)
tree28b04c29f5ed7b612e657056bc2efa1b4a09f53a /core
parentf3026c8e3ef637ee303d2b6c94c044d99edd6fbd (diff)
downloadRustAndDust-b7a165903bfa2a04d5abbf6fdb6e215252997655.zip
RustAndDust-b7a165903bfa2a04d5abbf6fdb6e215252997655.tar.gz
Board: call pawn.move.setRotation(...) in rotatePawn(...)
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java
index 0a076c7..7a4ce40 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -449,6 +449,7 @@ public abstract class Board implements Disposable
protected void rotatePawn(final Pawn pawn, Orientation o, RunnableAnimation whenDone)
{
+ pawn.move.setRotation(pawn.getTile(), o);
removePawn(pawn);
AnimationSequence seq = pawn.getRotateAnimation(o.r(), 2);