summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-21 16:40:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-21 16:40:35 +0200
commit66daac0daac4016c61a88bdcb2723976f5848b69 (patch)
tree2a33cfee2267f6053323694850890b98e627c330 /core/src/ch/asynk
parent34127a1adc86c977563281da5310246dc99c4f98 (diff)
downloadRustAndDust-66daac0daac4016c61a88bdcb2723976f5848b69.zip
RustAndDust-66daac0daac4016c61a88bdcb2723976f5848b69.tar.gz
StateAttack: on abort clear activated pawns to not burn down an AP
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateAttack.java1
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();
}