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:
parent
851b73afe3
commit
8fe69738c5
1 changed files with 1 additions and 1 deletions
|
@ -1030,7 +1030,7 @@ void S_StaticSound (sfx_t *sfx, vec3_t origin, float vol, float attenuation)
|
||||||
if (scache->loopstart == -1)
|
if (scache->loopstart == -1)
|
||||||
{
|
{
|
||||||
Con_Printf ("Ambient sound %s not looped\n", sfx->name);
|
Con_Printf ("Ambient sound %s not looped\n", sfx->name);
|
||||||
return;
|
scache->loopstart = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ss->sfx = sfx;
|
ss->sfx = sfx;
|
||||||
|
|
Loading…
Reference in a new issue