diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-21 16:40:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-21 16:40:35 +0200 |
commit | 66daac0daac4016c61a88bdcb2723976f5848b69 (patch) | |
tree | 2a33cfee2267f6053323694850890b98e627c330 | |
parent | 34127a1adc86c977563281da5310246dc99c4f98 (diff) | |
download | RustAndDust-66daac0daac4016c61a88bdcb2723976f5848b69.zip RustAndDust-66daac0daac4016c61a88bdcb2723976f5848b69.tar.gz |
StateAttack: on abort clear activated pawns to not burn down an AP
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateAttack.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateAttack.java b/core/src/ch/asynk/tankontank/game/states/StateAttack.java index 91d6249..f02a2f7 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateAttack.java +++ b/core/src/ch/asynk/tankontank/game/states/StateAttack.java @@ -73,6 +73,7 @@ public class StateAttack extends StateCommon @Override public void abort() { + map.clearActivatedPawns(); super.abort(); } |