summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/states
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-26 16:55:55 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-26 16:55:55 +0100
commit1c2b80955f7e7801b55ad9187ce63ba1d06edf52 (patch)
tree0044be18063045d052d7db1dc5a8ce6d57e1bbf9 /core/src/ch/asynk/tankontank/game/states
parent7ae5d3a7de9eada5f73104c32da7c2f67d8b8a27 (diff)
downloadRustAndDust-1c2b80955f7e7801b55ad9187ce63ba1d06edf52.zip
RustAndDust-1c2b80955f7e7801b55ad9187ce63ba1d06edf52.tar.gz
Map: use ShotAnimation
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/states')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateEngage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateEngage.java b/core/src/ch/asynk/tankontank/game/states/StateEngage.java
index 778ab03..85e6c30 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateEngage.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateEngage.java
@@ -65,7 +65,7 @@ public class StateEngage extends StateCommon
}
activeUnit.showTarget();
- ctrl.setAnimationCount(1);
+ ctrl.setAnimationCount(map.activatedUnits.size());
ctrl.setAfterAnimationState(nextState);
return StateType.ANIMATION;
}