diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-18 22:05:04 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-18 22:05:04 +0100 |
commit | 03c6da66c658a4c222c9308a62a65ecd1c294087 (patch) | |
tree | f0235b2ce86880aa09a5dad662bf59d0b0fb9732 /core/src/ch/asynk/tankontank/game | |
parent | 94cbd9bb4a3e2c56f5be653b335c29ed31c052ff (diff) | |
download | RustAndDust-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.java | 2 |
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() |