From bbd61bf8ba210b81bdc8f3a3a7bec1fea64ca7ba Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 22 Nov 2015 08:17:16 +0000 Subject: [PATCH] Play missile hit sound effect. --- src/battle/bullets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/bullets.c b/src/battle/bullets.c index 5345592..acb35fe 100644 --- a/src/battle/bullets.c +++ b/src/battle/bullets.c @@ -158,6 +158,7 @@ static void checkCollisions(Bullet *b) if (b->flags & BF_EXPLODES) { addMissileExplosion(b); + playBattleSound(SND_EXPLOSION_1, b->x, b->y); if (e == player) { @@ -252,6 +253,7 @@ static void huntTarget(Bullet *b) { b->life = 0; addMissileExplosion(b); + playBattleSound(SND_EXPLOSION_1, b->x, b->y); } } else