Always play explosion sound in channel 0.
This commit is contained in:
parent
af4ce38296
commit
80f8af703a
|
@ -30,7 +30,7 @@ void addExplosion(float x, float y, int radius, Entity *owner)
|
||||||
float power;
|
float power;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
playBattleSound(SND_EXPLOSION, -1, x, y);
|
playBattleSound(SND_EXPLOSION, 0, x, y);
|
||||||
|
|
||||||
/* assuming x and y were from the top left of the entity */
|
/* assuming x and y were from the top left of the entity */
|
||||||
x += radius / 2;
|
x += radius / 2;
|
||||||
|
|
Loading…
Reference in New Issue