Play missile hit sound effect.

This commit is contained in:
Steve 2015-11-22 08:17:16 +00:00
parent 3c9ba50930
commit bbd61bf8ba
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,7 @@ static void checkCollisions(Bullet *b)
if (b->flags & BF_EXPLODES) if (b->flags & BF_EXPLODES)
{ {
addMissileExplosion(b); addMissileExplosion(b);
playBattleSound(SND_EXPLOSION_1, b->x, b->y);
if (e == player) if (e == player)
{ {
@ -252,6 +253,7 @@ static void huntTarget(Bullet *b)
{ {
b->life = 0; b->life = 0;
addMissileExplosion(b); addMissileExplosion(b);
playBattleSound(SND_EXPLOSION_1, b->x, b->y);
} }
} }
else else