diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 16:40:05 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 16:40:05 +0100 |
commit | 0c05da84f8b1bb250dfcac810cfd639986506cef (patch) | |
tree | 5a4301351a1e430f27e99edfcbfe8ddb06cb9d1c /core/src/ch/asynk | |
parent | 324e17f72845c302533703170cadc0921732190f (diff) | |
download | RustAndDust-0c05da84f8b1bb250dfcac810cfd639986506cef.zip RustAndDust-0c05da84f8b1bb250dfcac810cfd639986506cef.tar.gz |
Unit: revertLastMove: restore mpLeft = mp
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java index dd68b20..7ff3720 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -231,6 +231,7 @@ public class Unit extends HeadedPawn public void revertLastMove() { hasMoved = false; + mpLeft = mp; } |