]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_dma.c
ambients should be forced to loop as well
[xonotic/darkplaces.git] / snd_dma.c
index aa6a755f1c1bbf331458f36800fd9d44673b92b2..7adfa7ae27a037f58ed866d0b5bc852cbeb75e10 100644 (file)
--- a/snd_dma.c
+++ b/snd_dma.c
@@ -702,6 +702,7 @@ void S_UpdateAmbientSounds (void)
                if (ambient_sfx[ambient_channel] && ambient_sfx[ambient_channel]->silentlymissing)
                        continue;
                chan = &channels[ambient_channel];
+               chan->forceloop = true;
                chan->sfx = ambient_sfx[ambient_channel];
 
                vol = ambient_level.value * l->ambient_sound_level[ambient_channel];