summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-18 22:05:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-18 22:05:04 +0100
commit03c6da66c658a4c222c9308a62a65ecd1c294087 (patch)
treef0235b2ce86880aa09a5dad662bf59d0b0fb9732 /core/src/ch/asynk/tankontank/game
parent94cbd9bb4a3e2c56f5be653b335c29ed31c052ff (diff)
downloadRustAndDust-03c6da66c658a4c222c9308a62a65ecd1c294087.zip
RustAndDust-03c6da66c658a4c222c9308a62a65ecd1c294087.tar.gz
Unit: revertLastMove: updateOverlays() and this.move = null
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java2
1 files changed, 2 insertions, 0 deletions
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()