summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-27 09:06:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-27 09:06:54 +0100
commit3cd7596919dc6f12a6cd0884e5a2fe383e30c959 (patch)
treefe9b270b7c1190450f621f225550c60de4ff2790 /core/src/ch/asynk/tankontank/game
parent944153dd21a33f16dd7f34b4a33e01cfd24f4abb (diff)
downloadRustAndDust-3cd7596919dc6f12a6cd0884e5a2fe383e30c959.zip
RustAndDust-3cd7596919dc6f12a6cd0884e5a2fe383e30c959.tar.gz
ShotAnimation,Map: resetAll() -> resetSound() called just before building animations
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 7d3cba3..9549938 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -190,7 +190,6 @@ public abstract class Map extends Board
public int animationsDone()
{
- ShotAnimation.resetAll();
if (animationClosure != null) {
addAnimation(animationClosure);
animationClosure = null;
@@ -336,6 +335,7 @@ public abstract class Map extends Board
public void addEngagementAnimation(Unit target)
{
+ ShotAnimation.resetSound();
Hex to = target.getHex();
for (Unit u : activatedUnits) {
Hex from = u.getHex();