Make ambient sounds loop.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1966 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-02-13 01:00:10 +00:00
parent 851b73afe3
commit 8fe69738c5

View file

@ -1030,7 +1030,7 @@ void S_StaticSound (sfx_t *sfx, vec3_t origin, float vol, float attenuation)
if (scache->loopstart == -1)
{
Con_Printf ("Ambient sound %s not looped\n", sfx->name);
return;
scache->loopstart = 0;
}
ss->sfx = sfx;