From 03c6da66c658a4c222c9308a62a65ecd1c294087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 18 Feb 2015 22:05:04 +0100 Subject: Unit: revertLastMove: updateOverlays() and this.move = null --- core/src/ch/asynk/tankontank/game/Unit.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java index a488633..dcca201 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -335,6 +335,8 @@ public class Unit extends HeadedPawn { hasMoved = false; mpLeft = mp; + updateOverlays(); + move = null; } private void updateOverlays() -- cgit v1.1-2-g2b99