diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-26 16:55:55 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-26 16:55:55 +0100 |
commit | 1c2b80955f7e7801b55ad9187ce63ba1d06edf52 (patch) | |
tree | 0044be18063045d052d7db1dc5a8ce6d57e1bbf9 /core/src/ch/asynk/tankontank/game/states | |
parent | 7ae5d3a7de9eada5f73104c32da7c2f67d8b8a27 (diff) | |
download | RustAndDust-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.java | 2 |
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; } |