Fix activated MUSICANDSFX wrongly being looped, introduced in r3631.

git-svn-id: https://svn.eduke32.com/eduke32@3632 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-03-31 22:29:30 +00:00
parent a6a4e30bbc
commit e3ae81262e
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ int32_t S_PlaySound3D(int32_t num, int32_t i, const vec3_t *pos)
{
// Ambient MUSICANDSFX always start playing using the 3D routines!
voice = FX_PlayAuto3D(g_sounds[num].ptr, g_sounds[num].soundsiz,
ambsfxp ? FX_LOOP : FX_ONESHOT,
repeatp ? FX_LOOP : FX_ONESHOT,
pitch, sndang>>4, sndist>>6,
g_sounds[num].pr, (num * MAXSOUNDINSTANCES) + j);
}