This fixes a bug where sounds (when using the native BD sound engine)
were not played because other sounds with higher precedence were
already playing. However, this should only be true for two sounds to
be played at the same time, while a sound with lower precedence may
be played if another sound with higher precedence is already playing
for some time.
// CHANNEL 1 is for small sounds
if (sound1 != GD_S_NONE)
{
- // start new sound if higher or same precedence than the one currently playing
- if (gd_sound_get_precedence(sound1) >= gd_sound_get_precedence(sound_playing(1)))
- play_sound(1, sound1);
+ // start new sound
+ play_sound(1, sound1);
}
else
{