summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-27 00:01:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-27 00:01:20 +0100
commit944153dd21a33f16dd7f34b4a33e01cfd24f4abb (patch)
treebe2d459344e096805f5467bb7b110a71d857188d /core/src/ch/asynk/tankontank
parent7db960a86c1c1d9ead95188ba86b467bfd56eee4 (diff)
downloadRustAndDust-944153dd21a33f16dd7f34b4a33e01cfd24f4abb.zip
RustAndDust-944153dd21a33f16dd7f34b4a33e01cfd24f4abb.tar.gz
ShotAnimation: reuse shortShot sound for hit
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java b/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java
index 9879ed9..002ec76 100644
--- a/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java
+++ b/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java
@@ -214,6 +214,7 @@ public class ShotAnimation implements Disposable, Animation, Pool.Poolable
if (!hit) {
hit = true;
// TODO hit sound
+ shortShot.play(volume);
}
if (elapsed < end_time) {